Closed Bug 234259 Opened 21 years ago Closed 21 years ago

new attachment bug comment screwed up when attachment name includes the string "attachment 123456 [details] [diff] [review]"

Categories

(Bugzilla :: Attachments & Requests, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 232861

People

(Reporter: darin.moz, Assigned: myk)

References

()

Details

Attachments

(1 file)

new attachment bug comment screwed up when attachment name includes the string
"attachment 123456 [details] [diff] [review]"

see this bug comment:

http://bugzilla.mozilla.org/show_bug.cgi?id=124029#c190

the HTML appears to have a HREF for "attachment 123456 [details] [diff] [review]" encoded in it, but that
results in a mess with extra quotes, etc. that really screws up the HTML.
caillon, this was from bug 153853.

What happens if an attachment's description cantains 'bug 123'? That breaks too...

I think that we need do do the @things stuff. Replacement text in those regexps
cannot ever expand to somethign that would be matched by a larger regexp.

You can't use @things itself, because then we can't put it back - you need to
use a new array/substitution bit.

*** This bug has been marked as a duplicate of 232861 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: