Modify ↓
#10260 closed defect (invalid)
Quotations in Milestone name throws JS error
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Steps to reproduce:
- add a new milestone that has double quotation marks in the name:
My "Milestone"
- Go to a query page
- Try to add a new filter for a Milestone
The milestone filter is not added, and a JS error pops up:
quote is not defined [Break On This Error] return value.replace(/[&<>"]/g, function(c) { return quote[c]; }); batchmod.js (line 8)
Also applies to Components, priorities, etc
Attachments (0)
Change History (4)
comment:1 by , 13 years ago
Milestone: | → 0.12.3 |
---|---|
Owner: | set to |
comment:2 by , 13 years ago
Keywords: | needinfo added |
---|
I can't reproduce this in any of the major browsers. Which browser are you using? Can you please try to reproduce the issue with all plugins disabled?
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
It was indeed caused by the BatchModify Plugin.
Note:
See TracTickets
for help on using tickets.
batchmod.js
is part of th:BatchModifyPlugin, so this may be a PluginIssue. But the code shown is part of$.htmlEscape()
, which is in core. I guess some escaping is in order.