|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
When making a poll with a word that contains an apostrophe it puts a leading \ in the word - IE Don't is displayed as Don\'t and isn't is displayed as isn\'t.
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Looks like Rick hasn't ran the data through stripslashes
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Hmm, I'm trying to figure out where this might be coming from. Everything concerning poll entry is ran through stripslashes where necessary and I can't duplicate it on my test board.
Does it show up on both the poll entry and results screen?
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Force users to vote before viewing results. Version 7.1 Seems to be on the output. K chinggggggg Test Poll You have to vote to see it.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I validate it shows on the result output lol
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Yeah, I just did the test poll. That is the output that I get as well.
-Tim
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Hmm, I'm trying to figure out where this might be coming from. Everything concerning poll entry is ran through stripslashes where necessary and I can't duplicate it on my test board.
Does it show up on both the poll entry and results screen? If you have not voted it shows correctly. Once you vote and can see the results screen you will see the slash.
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Fixed for 7.1.1. If you'd like to fix this in 7.1 you can edit libs/includepoll.inc.php:
Line 275 you'll see this:
$pollarray[$x]['option'] = "$option";
Right before that, add this:
Change that, to this:
$pollarray[$x]['option'] = stripslashes($option);
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Ruben, 1 invisible),
998
guests, and
205
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|