Skip to content

Unexpected replacing #5

Open
Open
@storenth

Description

Trying these while processing path-queries with unexpected output.
First case:

echo "?set_city=%D0%91%D0%B0%D0%BB%D0%B0%D1%88%D0%B8%D1%85%D0%B0&back_url=/" | qsreplace http://127.0.0.1:8080

Out:

?back_url=http%3A%2F%2F127.0.0.1%3A8080&set_city=http%3A%2F%2F127.0.0.1%3A8080

Second case:

echo "/?set_city=back_url="  | qsreplace http://127.0.0.1:8080

Out:

/?set_city=http%3A%2F%2F127.0.0.1%3A8080

System: Mac Big Sur (11.2.1)
Снимок экрана 2021-02-14 в 17 52 32

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