Closed
Bug 283341
Opened 20 years ago
Closed 20 years ago
[devmo] under this directory, history and Edit link are broken.
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: spam, Unassigned)
References
()
Details
Attachments
(2 files, 2 obsolete files)
|
1.16 KB,
patch
|
fantasai.bugs
:
review+
|
Details | Diff | Splinter Review |
|
1.06 KB,
patch
|
fantasai.bugs
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:1.7.5) Gecko/20041108 Firefox/1.0 Build Identifier: - under http://developer.mozilla.org/xpcom/api/, history and Edit link are broken because those sources are xml and they point html. Reproducible: Always Steps to Reproduce:
| Reporter | ||
Comment 1•20 years ago
|
||
Attachment #175331 -
Flags: review?(fantasai.bugs)
| Reporter | ||
Updated•20 years ago
|
Alias: devmo
Updated•20 years ago
|
Alias: devmo
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: under this directory, history and Edit link are broken. → [devmo] under this directory, history and Edit link are broken.
Comment on attachment 175331 [details] [diff] [review] under http://developer.mozilla.org/xpcom/api/ , point xml files Change the variable 'history' to 'sourcefile' and indent that line so it's more readable. E.g. [%- sourcefile = IF (matches = template.name.match('^xpcom/api/(\w+).html$')); THEN; "xpcom/api/"; matches.0; ".xml"; ELSE; template.name; END; -%]
Attachment #175331 -
Flags: review?(fantasai.bugs) → review-
| Reporter | ||
Comment 3•20 years ago
|
||
Attachment #175331 -
Attachment is obsolete: true
Attachment #175334 -
Flags: review?(fantasai.bugs)
Attachment #175334 -
Flags: review?(fantasai.bugs) → review+
| Reporter | ||
Comment 4•20 years ago
|
||
commited. Thanks to jwatt for report :)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 5•20 years ago
|
||
175334 fix only xpcom/api, not recursive. add urlencode of '+'
Attachment #176881 -
Flags: review?(fantasai.bugs)
Comment on attachment 176881 [details] [diff] [review] 175334 didn't fix subdirectory The first two lines seem fine. I don't know what the second two lines are trying to fix. Filenames shouldn't have whitespace in any case.
| Reporter | ||
Comment 7•20 years ago
|
||
not whitespace. some file such as http://developer.mozilla.org/xpcom/api/nsACString/operator+= includes '+' char, that must be escaped.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment on attachment 176881 [details] [diff] [review] 175334 didn't fix subdirectory >- [%- sourcefile = >+ [%- sourcefile_ = There is no need to change the name of this variable. >+ END; -%][%- sourcefile = The - next to the % is supposed to trim whitespace, so you do not need to break the indentation like this. The END should stay where it was, and the new directive should start on a new line, just like the previous one. >+ IF (matches = sourcefile_.match('(.*)\+(.*)')); You should probably use the .replace method instead of writing your own. Also, while we're at it, let's %escape '=' and '&', too.
Attachment #176881 -
Flags: review?(fantasai.bugs) → review-
| Reporter | ||
Comment 9•20 years ago
|
||
actually, tt pulls those value asis and does almost same though.
Attachment #176881 -
Attachment is obsolete: true
Attachment #177672 -
Flags: review?(fantasai.bugs)
Attachment #177672 -
Flags: review?(fantasai.bugs) → review+
| Reporter | ||
Comment 10•20 years ago
|
||
commited.
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: mozilla.org → Websites
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•