Skip to content

urlutil returns corrupted url if url contains invalid chars in path #84

@tarunKoyalwar

Description

@tarunKoyalwar

Description

  • https://scanme.sh/%usdf%0D%0A is a invalid url since %u is not a valid encoding character
    • url.URL returns error if above url is given
    • utils/url/URL was designed to allow such cases
  • However it returns a corrupted url instead of valid one for this case i.e
https://scanme.sh/https://scanme.sh/%usd%0D%0A

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions