Unexpected behavior when passing a data:
URL into parseURL()
#158
Labels
bug
Something isn't working
data:
URL into parseURL()
#158
Environment
Version: 1.2.0
Reproduction
https://stackblitz.com/edit/js-smsxy5?file=index.js
Describe the bug
When a data URL is passed into
parseURL()
it might detect a host and a pathname based on the base64 content of the data URL.Additional context
Downstream issue: nitrojs/nitro#1431
Logs
No response
The text was updated successfully, but these errors were encountered: