![]() |
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 |
|
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. |
If you disable plugins, does it still happen?
|
Quote:
It is only the backslashes "" and not the forward slash. It removes them here also as I put a backslash in those quotes. |
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. |
<a href="http://php.net/manual/en/function.stripslashes.php" target="_blank">http://php.net/manual/en/function.stripslashes.php</a>
|
All times are GMT. The time now is 12:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|