Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rt/http): correct URL in Request #10256

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

lucacasonato
Copy link
Member

This commit fixes the URL returned from request.url in the HTTP server
to be fully qualified. This previously existed, but was removed and
accidentially not readded during optimizations of the HTTP ops.

Returning a non fully qualified URL from Request#url is not spec
compliant.

This commit fixes the URL returned from `request.url` in the HTTP server
to be fully qualified. This previously existed, but was removed and
accidentially not readded during optimizations of the HTTP ops.

Returning a non fully qualified URL from `Request#url` is not spec
compliant.
@lucacasonato lucacasonato merged commit fe59e7a into denoland:main Apr 19, 2021
@lucacasonato lucacasonato deleted the fix_http_url branch April 19, 2021 15:07
@kitsonk
Copy link
Contributor

kitsonk commented Apr 19, 2021

Just to note, this will be a breaking change from 1.9.0, a good one, but I know it will break parts of oak and I expect others who implemented the behaviour present in 1.9.0.

Sign up for free to 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.

3 participants