Skip to content

Unexpected replacing #5

Description

@storenth

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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