diff options
author | 2023-09-28 01:15:45 +0200 | |
---|---|---|
committer | 2023-09-27 16:15:45 -0700 | |
commit | 8608b5286ad9cbda51bd086467c728407644d4b2 (patch) | |
tree | 090321b8f5c0b8661ce2fd4b315a36bd4c4b0ba4 /docs/project/development.md | |
parent | a5f76e690ac49ac273d41feef801f54e4346cef0 (diff) | |
download | bun-8608b5286ad9cbda51bd086467c728407644d4b2.tar.gz bun-8608b5286ad9cbda51bd086467c728407644d4b2.tar.zst bun-8608b5286ad9cbda51bd086467c728407644d4b2.zip |
fix: implement correct behaviour for urls with blob: scheme (#5825)
* fix: implement correct behaviour for urls with blob: scheme
Urls using the blob scheme can have special behaviour if their origin itself
is a url.
This fixes that by parsing the subdomain and if valid and the schemes(protocols)
are valid returns its origin.
Ive used node.js here a lot to make sure its behaviour is copied 1:1 and enabled
the automated tests for it.
Fixes https://github.com/oven-sh/bun/issues/5805
* fix: subUrl can be const, we are not modifying it
* style: add spaces after `if` keyword
Diffstat (limited to 'docs/project/development.md')
0 files changed, 0 insertions, 0 deletions