The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Solution needed for : Database error due to bad parsing of variables
Some sites that have linked to certain pages I have on my site are wrongly parsing the & symbol in the url , instead giving such a link like :
PHP Code:
PHP Code:
Is there anything , on my end , that I can do to rectify this problem ? Help most appreciated |
#2
|
||||
|
||||
Look for the function htmlspecialchars() in the code. This translates symbols like & into their special char equivalent.
To revert, use html_entity_decode() |
#3
|
||||
|
||||
vBulletin also has its own function to revert: unhtmlspecialchars() (see includes/functions.php) and also a unicode safe version of htmlspecialchars: htmlspecialchars_uni()
|
#4
|
||||
|
||||
Thanks guys, but what puzzles me is that those links are placed in the templates.
ie. PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|