Skip to content

eval in generic_parser_b will fail on some domains (solution within) #51

@newalphamedia

Description

@newalphamedia

The line:

eval($var . '="' . str_replace('"', '\"', $itm) . '";');

Should be:

$itm = rtrim($itm,"\\"); eval($var . '="' . str_replace('"', '\"', $itm) . '";');

Because if $itm has a \ at the end of the value, it will trigger a ParseError.

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