Menu

#3 Variable substitution is different

open
Jim Hart
5
2004-02-07
2004-02-07
Jim Hart
No

If a variable is set, not to the contents of another
variable, but to the variable itself, by escaping the $
in the assignment, when that variable is later echoed,
Apache displays the $ followed by the variable name.
exssi displays the value from the second variable.

Discussion

  • Jim Hart

    Jim Hart - 2004-02-07

    Logged In: YES
    user_id=257500

    exssi's current variable substitution is fully recursive.
    That is, it continues to replace variables with values as
    long as there are any variables left in the expression being
    analyzed, no matter how many levels of nesting occur.
    Apparently, Apache only does a single pass.

    We should add a configuration option for "Apache
    compatibility" which disables any exssi enhancements that
    would make existing XSSI web pages "break".

     
  • Jim Hart

    Jim Hart - 2004-02-07
    • labels: 605362 -->
    • milestone: 374905 -->
    • assigned_to: jhart --> nobody
     
  • Jim Hart

    Jim Hart - 2004-02-07
    • labels: --> XSSI Incompatibility
    • assigned_to: nobody --> jhart
     
  • Jim Hart

    Jim Hart - 2004-02-07
    • summary: Incompatibility with Apache variable sub --> Variable substitution is different
     

Log in to post a comment.

MongoDB Logo MongoDB