The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Slashes removed from posts
I have a forum where users will occasionally start threads with code examples in them. They use the CODE or PHP bbcode to display it. Sometimes code examples will have paths in them with the back slashes. The forum software removes the slashes from the posts.
Where is this done? Is it done for security reasons? Is there a setting that can be changed that allows the slashes in posts? Thank you |
#2
|
||||
|
||||
|
#3
|
|||
|
|||
Actually, the slash"" removal happens globally in all posts. Inside BBCODE and outside. It is puzzling. I thought this was some security thing but it is more of some kind of issue I guess.
That link is archived to the point that I cant get any info from it. |
#4
|
||||
|
||||
If you disable plugins, does it still happen?
|
#5
|
|||
|
|||
Yes, it does. I disabled all plugins and it continued to remove slashes from posts.
It is only the backslashes "" and not the forward slash. It removes them here also as I put a backslash in those quotes. |
#6
|
||||
|
||||
The behavior I found here just now is that for any string of text within double-quotes, if that string ends with a backslash, that backslash is trimmed.
I get the same behavior on my vB 4,2,5 dev site. |
#7
|
||||
|
||||
<a href="http://php.net/manual/en/function.stripslashes.php" target="_blank">http://php.net/manual/en/function.stripslashes.php</a>
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|