We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5382
    • 10 Posts
    Have a template chunk that calls a snippet as follows:

    [!RandomFile? &filesBasePath=`assets/images/banners` &filePatternRegex = `/^[a-zA-Z0-9].*\.(jpg|jpeg)$/` !]


    When I turn on PHx, the snippet receives only a single / for the value of filePatternRegex. Turn PHx off, and the snippet gets the correct value. Seems that PHx is checking / replacing / stripping the contents of snippet call parameters. Should it be doing that?