View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002742 | AJAX/JS | Bug Report - Interface | public | 2016-12-12 20:38 | 2016-12-12 23:43 |
Reporter | Hinoe | Assigned To | DerIdiot | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 2017-01 | ||||
Summary | 0002742: bbcode editor: missing escaping of quotation marks in selected text for input fields | ||||
Description | In this report, quotation marks are part of the test strings, so using them as string delimiters would be messy. For clarity's sake, strings are instead delimited by an ASCII version of the French-style quotation marks, << and >>, as follows: <<string without quotation marks>> and <<string with "quotation" marks>>. This issue appears to apply to the url button only. Any string with <<">> in it gets immediately truncated at the quotation mark. This does not apply to the apostrophe, <<'>>. See steps to reproduce, keeping in mind that <<>> are the string delimiters for this report. I haven't tested what would happen if you were to go ahead with the change, but I think any text from the first quotation mark until the end of the selection would be removed. | ||||
Steps To Reproduce | 1. Write <<"they ran out of budget">>. 2. Select what you wrote, press the url button. 3. See how it's just like nothing was selected. 4. Exit, write <<grayscale" and "there>>. 5. Select your new text, press the url button. 6. See how the selection is exactly: <<grayscale>>. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-12 20:38 | Hinoe | New Issue | |
2016-12-12 23:35 | DerIdiot | Summary | bbcode editor: url button: quotation mark in selection truncates/ends/breaks it => bbcode editor: missing escaping of quotation marks in selected text for input fields |
2016-12-12 23:43 | DerIdiot | Assigned To | => DerIdiot |
2016-12-12 23:43 | DerIdiot | Status | new => resolved |
2016-12-12 23:43 | DerIdiot | Resolution | open => fixed |
2016-12-12 23:43 | DerIdiot | Fixed in Version | => 2017-01 |