View Issue Details

IDProjectCategoryView StatusLast Update
0002742AJAX/JSBug Report - Interfacepublic2016-12-12 23:43
ReporterHinoe Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version2017-01 
Summary0002742: bbcode editor: missing escaping of quotation marks in selected text for input fields
DescriptionIn 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 Reproduce1. 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>>.
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

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