Closed Bug 82809 Opened 24 years ago Closed 24 years ago

bugzilla puts &#013; inside <pre> tags

Categories

(Bugzilla :: User Interface, defect, P2)

2.11
x86
Linux

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: old-mozilla, Assigned: myk)

References

()

Details

Attachments

(1 file)

I'm not sure if that's legal or not, but I do know that Konqueror can't cope with it as well as mozilla can. Now I know most folks around here don't care if another browser can handle the html we use or not, but when mozilla is falling apart and you're trying to report that fact in bugzilla, you need another browser to do it. Having line feeds encoded as html entities tends to make pre blocks an unholy mess, especially if they contain things like stack traces, or patches.
Bugzilla is a separate product from Mozilla, and we expect it to work on all browsers as much as possible ... some of the team are involved very little or not at all in Mozilla development.
Target Milestone: --- → Bugzilla 2.16
*** Bug 84292 has been marked as a duplicate of this bug. ***
Priority: -- → P2
-> New Bugzilla Product
Assignee: tara → myk
Component: Bugzilla → User Interface
Product: Webtools → Bugzilla
Version: Bugzilla 2.11 → 2.11
Depends on: 97980
FYI, the "links" text-based browser also doesn't like this encoding.
The quoteUrls() routine, which all of the comments are passed through to add hyperlinks before being displayed, calls value_quote() on the final comment text, then does a s/&#010;/\n/g on the results before passing it back. Problem is, several months back, value_quote() was changed to use &#013; for line endings instead of &#010; because some browsers (most notably Netscape Mac) had problems with &#010; in hidden form values (which is the primary thing value_quote() is used for). The patch I just uploaded changes quoteUrls() to swap out &#013; instead of &#010;.
Keywords: patch, review
No longer depends on: 97980
Comment on attachment 51829 [details] [diff] [review] Patch to quoteUrls() [03:44:28] <timeless> r=timeless for your change :-) [03:44:33] <timeless> no second review needed [imo]
Attachment #51829 - Flags: review+
checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
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

Created:
Updated:
Size: