Closed
Bug 219216
Opened 22 years ago
Closed 22 years ago
Problem with @->@ filter/munge and <input>
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: burnus, Assigned: justdave)
References
Details
Attachments
(1 file, 1 obsolete file)
1.43 KB,
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
Bug 120030 introduced the change that @ gets @.
At least in the "Assigned to" text field this gets inserted using @ (shown
like this in the input field).
Assignee | ||
Comment 1•22 years ago
|
||
In which browsers?
Assignee | ||
Comment 2•22 years ago
|
||
Hmm, testcase works in Mozilla, MSIE, and Safari on OS X...
perhaps it's getting escaped twice?
Assignee | ||
Comment 3•22 years ago
|
||
OK, you forgot to say what page this was happening on, but I found it. It's on
enter_bug and it's because the names are being fed via javascript, and they have
"FILTER html" on them instead of "FILTER js".
Patch coming shortly.
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Comment 4•22 years ago
|
||
This fixes the immediate problem, but it reintroduces the spam situation (if
they're scanning the page source, which we know they do because of the volume
of spam the bugzilla.org mailserver rejects for 1.0@bugzilla.org :) we should
probably split the mail addresses in the javascript and patch them together at
runtime when putting them into the box.
Comment on attachment 131464 [details] [diff] [review]
Patch
filter js needs to convert @ to \x40
Attachment #131464 -
Flags: review+
Assignee | ||
Comment 6•22 years ago
|
||
Oooh....
components[0] = "Database backend";
default_owners[0] = "justdave\x40syndicomm.com";
components[1] = "Miscellaneous";
default_owners[1] = "justdave\x40syndicomm.com";
Yep, it works. It feeds "justdave@syndicomm.com" into the edit box.
Assignee | ||
Comment 7•22 years ago
|
||
Add a @ -> \x40 to the js filter.
Attachment #131464 -
Attachment is obsolete: true
Attachment #131468 -
Flags: review+
Assignee | ||
Comment 8•22 years ago
|
||
Checking in Bugzilla/Template.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Template.pm,v <-- Template.pm
new revision: 1.12; previous revision: 1.11
done
Checking in template/en/default/bug/create/create.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl,v
<-- create.html.tmpl
new revision: 1.21; previous revision: 1.20
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Flags: approval+
Resolution: --- → FIXED
Assignee | ||
Comment 9•22 years ago
|
||
*** Bug 218585 has been marked as a duplicate of this bug. ***
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•