Skip to content

URL verify logic doesn't support URLs with query string  #274

Description

@raananzvi

You can see here a very simplified validation logic which is not robust enough.
If I have an update URL with query string (https://domain/folder/file.js?query=query) this URL will not pass the validation.
You need to extract the URL without the query string (or hash #)

func validateUrl(_ urlString: String) -> Bool {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions