You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am affraid the commit 7af0bc7 has brought an unexpected issue. Let me explain:
I am doing a call to an API with an URL of the form:
/apis/core.py/endpoint
I am using a proxy to target this call to another server.
Before the changes from 7af0bc7 everything was working properly cause no rewrite was being applied to the url, and the proxy worked as expected.
Now, this type of url doesn't meet the following validation due to the last dot happening before the last slash: pathname.lastIndexOf('.') > pathname.lastIndexOf('/')
After this addition, my call to the API fails.
If I revert the code to how it was everything works OK.
I think maybe there could be a better approach to this?
Cheers!
The text was updated successfully, but these errors were encountered:
Hello, I am affraid the commit 7af0bc7 has brought an unexpected issue. Let me explain:
I am doing a call to an API with an URL of the form:
/apis/core.py/endpoint
I am using a proxy to target this call to another server.
Before the changes from 7af0bc7 everything was working properly cause no rewrite was being applied to the url, and the proxy worked as expected.
Now, this type of url doesn't meet the following validation due to the last dot happening before the last slash:
pathname.lastIndexOf('.') > pathname.lastIndexOf('/')
After this addition, my call to the API fails.
If I revert the code to how it was everything works OK.
I think maybe there could be a better approach to this?
Cheers!
The text was updated successfully, but these errors were encountered: