Thread 'backslashes'

Message boards : Web interfaces : backslashes
Message board moderation

To post messages, you must log in.

AuthorMessage
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 12505 - Posted: 14 Sep 2007, 12:53:28 UTC
Last modified: 14 Sep 2007, 12:54:00 UTC

It looks to me like apostrophes are now being escaped by backslashes in displayed text. Here's a test. Do you see what I mean? The apostrophe in "Here's" looks like "\'".

I understand that this comes from inserting some protection against database injections. But this is supposed to be removed when the text is taken out of the database and displayed.

[edit]
Looks like it's doing it to double quotes too. :-)

-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 12505 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 12508 - Posted: 14 Sep 2007, 14:42:52 UTC
Last modified: 14 Sep 2007, 14:44:49 UTC

Rytis knows about it and I reopened ticket 175 for it. It's on all projects that have updated their software to the latest version. He's looking into it.

Oh, I just see he reversed the original code that he added: http://boinc.berkeley.edu/trac/changeset/13588
The original change in code was done as backslashes go missing when quoting them, or when editing a post.
ID: 12508 · Report as offensive

Message boards : Web interfaces : backslashes

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.