Closed Bug 238655 (遠藤) Opened 21 years ago Closed 13 years ago

Do not allow & in bug aliases

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Unassigned)

Details

http://bugzilla.mozilla.org/show_bug.cgi?id=a&b Invalid Bug ID The 'bug number' is invalid. It is neither a bug number nor an alias to a bug number. If you are trying to use QuickSearch, you need to enable JavaScript in your browser. To help us fix this limitation, add your comments to bug 70907. That's a lie. I created what seemed to be a perfectly good bug alias, see here: <td align="right"> <b>Bug#:</b> </td> <td> <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=238651">238651</a> <label title="a name for the bug that can be used in place of its ID number, f.e. when adding it to a list of dependencies"> <b>alias:</b> <input name="alias" value="a&amp;b" size="20" maxlength="20"> </label> </td>
Flags: blocking2.18?
If I enter "a&b" in the Find Bug # box in the footer, it works fine. I wind up with this in the url bar after getting there: http://bugzilla.mozilla.org/show_bug.cgi?id=a%26b notice the & got encoded ;) Given the way we expect people to use them, I suppose it makes sense to limit them to characters that won't need to be encoded in URLs.... then again, if we did that, it would also prevent people from using non-ascii unicode characters in the aliases, too, which might not be a good thing. I don't think this is anywhere near clear-cut enough to hold 2.18 for it.
Severity: normal → minor
Flags: blocking2.18? → blocking2.18-
OS: Windows XP → All
Hardware: PC → All
problem is, i use bookmark keywords. they're not smart enough to html encode things....
That sounds like a bug in the browser.
QA Contact: mattyt-bugzilla → default-qa
Alias: &#36960;&#34276;
Depends on: 遠藤
justdave: i'd like to get this bug fixed before 3.0, see bug 355995 for examples of things where the intl definitely doesn't work. &'s are a mess and we shouldn't support them
No longer depends on: 遠藤
Assignee: myk → create-and-change
wontfix for the same reason as in bug 355995. There is no valid reason to forbird & in the alias name besides you (incorrectly) hacking the URL. About comment 2, that's an issue with your browser, not Bugzilla.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.