We have a dollar sign in URL and proxy middleware converts it to %24. Unfortunately, for backend server url with $ and url with %24 are two different urls. It could be fixed by extending safe characters in middleware as it done in url_fix function, but it seems to me that the right way is to make the middleware to use REQUEST_URI/RAW_URI when possible. This way also can fix middleware for cases like the one described in #766.
I can send PR, but since it will require some efforts on making remove_prefix option working correctly and to ensure backward compatibility for public method proxy_to, I'd like to discuss this solution first. If it can be accepted, then I proceed.
We have a dollar sign in URL and proxy middleware converts it to
%24. Unfortunately, for backend server url with$and url with%24are two different urls. It could be fixed by extending safe characters in middleware as it done in url_fix function, but it seems to me that the right way is to make the middleware to useREQUEST_URI/RAW_URIwhen possible. This way also can fix middleware for cases like the one described in #766.I can send PR, but since it will require some efforts on making
remove_prefixoption working correctly and to ensure backward compatibility for public methodproxy_to, I'd like to discuss this solution first. If it can be accepted, then I proceed.