wkcaj/safecurl

If url schema in capital letters it wont work

vladmiller opened this issue · 1 comments

Whenever you have schema in capital letters it won't match with whitelisted schemas list

Example
HTTP://google.com

Most likely you can make schema and hostname lower case, but not query

Hey,

What I'll do is do a strtolower on the scheme before validation. For the hostname, it'll be tackled in Issue #7 which will cover changing the hostname matching.

Cheers,
Jack