首页 > 解决方案 > 边缘将参数添加到不被考虑的 URL

问题描述

我遇到了这个只发生在 Microsoft EDGE 上的问题,我有一个页面可以生成这样的菜单:

                    <a href="${homeList.getLink()}" referrerpolicy="origin"></a> 
                    <script>console.log('${homeList.getLink()}');</script>
                        <div class="az-portlet-home-card-img-container">
                            <img class="az-portlet-home-card-img"  src="${homeList.getImage()}" >
                            <div class="az-portlet-home-card-text  text-center">
                                     <div class="az-portlet-home-card-innerText">
                                            ${homeList.getText()}
                                     </div>
                              </div>
                        </div>
                        <div class="az-portlet-home-card-plus-incon" >
                            <img src="<%=request.getContextPath()%>/images/corner_icon.png">
                            <span class="az-portlet-home-plus-sign">+</span>
                        </div>
                </div>

href 在除 EDGE 之外的所有浏览器中都可以正常工作,因为他添加了类似的东西

?zx=vioeDFwfjha

例如,在 chrome 中,我得到了链接: http://localhost:1234/web/acores/turismo

在 EDGE 中,我得到了链接: http://localhost:1234/web/acores?zx=bhjfeuRdf/turismo

这是什么以及我如何阅读它?

标签: urlfrontendmicrosoft-edgeurl-parametersliferay-7

解决方案


推荐阅读