8000 RegEx error | function template · Issue #134 · prasathmani/tinyfilemanager · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
RegEx error | function template #134
Closed
@TigersWay

Description

@TigersWay

With the same old webhosters as the previous issue, I get:
Parse error: syntax error, unexpected '^', expecting ']' in ......tinyfilemanager.php on line 3137

After checking the culprit is in re=/<%([^%>]+)?%>/g. the % sign is trouble!
I changed it to re=/<\%([^\%>]+)?\%>/g and it "seems" to be working... An old javascript trick?

I'm not an regexp expert so not exactly sure about the test(s) I should do to confirm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0