• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Service issue PHP Code Problem

#1
Hi All,

This problem, should put backslashes' s (\) look is blocking.

Look:

PHP:
python Makespec.py\bug.py
No PHP Code:

python Makespec.py\bug.py
 

Luke F

Well-known member
#5
I can reproduce this on my localhost server running PHP 5.2.9-2 (long overdue for an update), but not my live server running PHP 5.3.6. Both are running XenForo 1.0.0.

Neither has magic quotes enabled.
 

Brogan

XenForo moderator
Staff member
#7
Don't worry, it has been logged as a bug and moved back to the bugs forum.

It will be addressed in due course.
 

Scott

Active member
#8
This comes from PHP's highlight_string() anything that goes in has to be valid PHP else the tokenizer and syntax highlighter gets all confused :)

I suspect it's different between PHP 5.2 and 5.3.
 

Mike

XenForo developer
Staff member
#9
What Scott said. It's internal to PHP, so there's nothing we can do. (It would likely be ok in 5.3, due to namespaces.)

It's really what happens if you pass non-PHP into the area that expects PHP.