Skip to content

Conversation

@NinZine
Copy link
Contributor

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
ContributorAuthor

Fixes #358

@a7ula7ul merged commit 0574712 into nodegui:masterOct 14, 2021
@a7ul
Copy link
Collaborator

a7ul commented Oct 14, 2021

Thanks @NinZine

Sign up for freeto 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

@NinZine@a7ul