【发布时间】:2020-08-25 13:56:11
【问题描述】:
示例端点:
https://localhost:4200/test/index.html?param1=username%2passw0rd&baseApi=https://someOtherService/APIBase.jsp?INT/
当我点击上面的端点时。我的网址被转换成这个...
https://localhost:4200/test/index.html?param1=username%2passw0rd&baseApi=https:%2F%2FsomeOtherService%2FAPIBase.jsp
正如您在 baseApi 参数中看到的那样,“/”被转换为“%2F”,并且值“?INT/”也被删除了。
如何防止 URL 转换“/”并为第二个参数“baseApi”中的值保留“?INT/”值。
【问题讨论】:
-
我的问题是为什么你需要首先停止编码。
标签: angular