我有一個PHP腳本生成像這樣防止瀏覽器從評估%2F
<a href="http://localhost/explorer/index.php?repository_id=default&folder=%2Fmypath%2Finner%2Finner2">link</a>
但是當我將鼠標懸停在該鏈接或點擊它,它真的去 http://localhost/explorer/index.php?repository_id=default&folder=/mypath/inner/inner2
一堆鏈接如何防止這種行爲,並迫使它去http://localhost/explorer/index.php?repository_id=default&folder=%2Fmypath%2Finner%2Finner2 接收此輸入需要有/
由於沒有意識到) – user391986