nyamsprod , 2 days ago to random #PHP #URL periodic reminder 1 - parse_url IS NOT a validator it will successfully parse an invalid URL 2 - URL validation is scheme based without a scheme your validation is NEVER 100% accurate! 3 - There is not such a thing as a query string RFC.. there are conventions, expectations, she says, he says ... and URLSearchParams. 4 - RFC3986 and WHATWG URL specifications are not the same one aim to replace the other but sometimes they contradict each others
#PHP #URL periodic reminder
1 - parse_url IS NOT a validator it will successfully parse an invalid URL
2 - URL validation is scheme based without a scheme your validation is NEVER 100% accurate!
3 - There is not such a thing as a query string RFC.. there are conventions, expectations, she says, he says ... and URLSearchParams.
4 - RFC3986 and WHATWG URL specifications are not the same one aim to replace the other but sometimes they contradict each others
dominjaniec , 4 months ago to random oh #mastodon why! why are you changing number in your toot's #URL once opening via different server 😕 I had such great idea for useful bookmarklet...
oh #mastodon why! why are you changing number in your toot's #URL once opening via different server 😕 I had such great idea for useful bookmarklet...