1. 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

Discussion in 'Resolved Bug Reports' started by exice, Mar 22, 2011.

  1. exice

    exice New Member

    Hi All,

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


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

    python Makespec.py\bug.py
  2. exice

    exice New Member

    I'm sorry, I think this problem fixed?
  3. exice

    exice New Member

    A image from my site:
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Which version of software are you running?

    It works for me in 1.0.0.
  5. Luke F

    Luke F Well-Known Member

    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.
  6. exice

    exice New Member

  7. Brogan

    Brogan XenForo Moderator Staff Member

    Don't worry, it has been logged as a bug and moved back to the bugs forum.

    It will be addressed in due course.
  8. Scott

    Scott Active Member

    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.
  9. Mike

    Mike XenForo Developer Staff Member

    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.

Share This Page