Comments (1)
Aha, I found the problem. encodeUriQuery (a method in the servlet) is being used in the same way for the query string (which isn't decoded) and the request path (which is decoded). When it's dealing with a non-decoded string it needs to pass the '%' through (which it's doing now) but when it gets a '%' from a decoded string it needs to escape it (it's not yet doing this).
There are pros/cons to using getPathInfo vs getRequestURI. If I switch to getRequestURI then I need to parse out the path info from the URI.
from http-proxy-servlet.
Related Issues (20)
- Release 1.12 HOT 3
- Question: Use to proxy webcams HOT 1
- Proxy post request Content-Type:x-www-form-urlencoded request body missing HOT 2
- Proxy to spring boot application with X-Forwarded headers ? HOT 2
- How to solve the static resource loading problem of the target server when the target path is dynamic proxy
- How to solve the static resource loading problem of the target server when the target path is dynamic proxy
- Have an `allowedHosts` parameter HOT 2
- Handle URL with special characters [] HOT 5
- Encoding does not work for non control characters HOT 1
- issue:The path of the cookie is changed. More sessions will be created for the same user
- Proxy exposed on HTTP can't pass on Secure Cookies if the external service is HTTPS HOT 6
- Convert private functions to protected HOT 2
- kibana url was truncated when it has '#' HOT 1
- Proxy homepage/root page without affecting others (404s etc.) HOT 1
- we think setConnectTimeout is wrong HOT 1
- Spring boot 3 incompatibility HOT 16
- Jakarta EE 10 / Servlet spec 6.0 compatibility HOT 5
- [Bug]Duplicate request headers are added
- NullPointerException: null HOT 1
- NullPointerException when run getCookieNamePrefix HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-proxy-servlet.