question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Httptools trims long urls

See original GitHub issue

Prompted as part of the discussion in #344 , it seems httptools doenst handle well long url, see #925 for a failing test

I can say that for my case the issue is not URLs longer than 65,535 characters, but rather that on_url is being called multiple times for whatever reason: https://github.com/nodejs/http-parser#parsing-urls.

_Originally posted by @malthejorgensen in https://github.com/encode/uvicorn/issues/344#issuecomment-752074479_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Kludexcommented, May 24, 2021

jfyk, @victoraugustolls PR was merged, and we have a PR using the new httptools version: https://github.com/encode/uvicorn/pull/1024

1reaction
euri10commented, Dec 29, 2020

Cool, I subscribed to it thanks for the heads up @victoraugustolls !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Httptools trims long urls - - Bountysource
Prompted as part of the discussion in #344 , it seems httptools doenst handle well long url, see #925 for a failing test....
Read more >
URL confusion vulnerabilities in the wild: Exploring parser ...
In this post, we will take a look at the history of URLs, explore possible sources of URL parser confusion, run through an...
Read more >
Trim URL Tool: Trim URLs to Their Root Domain - ClickMinded
This simple tool will let you trim a bunch of URLs to the root domain and standardize the prefixes. Makes your analysis easier....
Read more >
URL Parsing-Library Bugs Allow DoS, RCE, Spoofing & More
“Since URI.parse trims off two slashes, the resulting URL will be ///evil.com. Whenever the server redirects the user to this URL, ///evil.com ...
Read more >
INET Framework for OMNeT++/OMNEST: inet::httptools ...
inet::httptools::HttpBrowserBase Class Referenceabstract ... Requires the network topology to be set up – routers, links, etc. ... inet::httptools::trim.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found