joseph-mudloff / pixie-cms

Automatically exported from code.google.com/p/pixie-cms
Other
0 stars 0 forks source link

Single quote in "Site Settings -> Site Name" causes error. #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Set "Site Name" to a string containing a single quote (e.g. John's Site)
2. Press "Update"
3. Result is "! Error saving settings. (go back >>)"

What is the expected output? What do you see instead?  See above.

What version of the product are you using? On what operating system?
Using latest version 1.03 of Pixie on Windows 7.

Please provide any additional information below.
Error can be avoided by preceding the single quote with a backslash...

Original issue reported on code.google.com by m...@moonshome.com on 29 Dec 2009 at 5:11

GoogleCodeExporter commented 8 years ago
You should use correct html syntax for your title.
John's Site is actually :
John's Site
Which does work instead.

Yes it should really be escaped automatically.
The ' is probably ending the string prematurely.

See :
http://www.w3.org/MarkUp/html-spec/html-spec_13.html
To learn special character codes.

Original comment by tonywhit...@googlemail.com on 12 Jan 2010 at 7:05

GoogleCodeExporter commented 8 years ago
Fixed in trunk. Thanks for the report Max!

Original comment by tonywhit...@googlemail.com on 19 Jan 2010 at 9:02