cordova-plugin-webview-proxy icon indicating copy to clipboard operation
cordova-plugin-webview-proxy copied to clipboard

[BUG] - When "trailing slash" is in the url end, so the request is sent without it

Open Gochip opened this issue 4 years ago • 0 comments
trafficstars

Describe the bug When "trailing slash" is in the url end, so the request is sent without it

To Reproduce

  1. fetch(window.WebviewProxy.convertProxyUrl("https://www.pabex.com/test/"))
  2. 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).

Gochip avatar Oct 25 '21 09:10 Gochip