cordova-plugin-webview-proxy
cordova-plugin-webview-proxy copied to clipboard
[BUG] - When "trailing slash" is in the url end, so the request is sent without it
trafficstars
Describe the bug When "trailing slash" is in the url end, so the request is sent without it
To Reproduce
- fetch(window.WebviewProxy.convertProxyUrl("https://www.pabex.com/test/"))
- This generate a request to https://www.pabex.com/test instead of https://www.pabex.com/test/
Expected behavior Should generate a request to https://www.pabex.com/test/ (with trailing slash).