psf / requests

A simple, yet elegant, HTTP library.
https://requests.readthedocs.io/en/latest/
Apache License 2.0
52.07k stars 9.31k forks source link

Python Requests Libarary Removes some Characters in URL when Sending Request #6210

Closed nxenon closed 2 years ago

nxenon commented 2 years ago

Python requests library changes URL in some situations. it removes some parameters for example url = "https://www.example.com/test?" it removes ? in the request when I see it in Burp proxy it changes to https://www.example.com/test because I'm pentesting web applications I need to send for example quotation mark too and other things which will be removed by library automatically. I need following path: image after ? must be empty

sigmavirus24 commented 2 years ago

Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use StackOverflow for general usage questions instead and only report defects here.

In the future, please search closed and open issues before creating new ones that are duplicates.