Skip to content

Conversation

NinZine
Copy link
Contributor

@NinZine NinZine commented Oct 14, 2021

new URL("C:\path\filename.png")
is treated as a valid URL, which it is not. phin subsequently tries
to fetch it, but phin and centra only supports http and https anyway.
Therefore isValidUrl will check also the protocol.

`new URL("C:\path\filename.png")`
is treated as a valid URL, which it is not. `phin` subsequently tries
to fetch it, but `phin` and `centra` only supports http and https anyway.
Therefore `isValidUrl` will check also the protocol.
@NinZine
Copy link
Contributor Author

NinZine commented Oct 14, 2021

Fixes #358

@a7ul a7ul merged commit 0574712 into nodegui:master Oct 14, 2021
@a7ul
Copy link
Collaborator

a7ul commented Oct 14, 2021

Thanks @NinZine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants