A html space is showing as instead of

前端 未结 5 637
自闭症患者
自闭症患者 2020-11-29 02:39

Passing a filename to the firefox browser causes it to replace spaces with %2520 instead of %20.

I have the following HTML in a file calle

5条回答
  •  再見小時候
    2020-11-29 03:23

    For some - possibly valid - reason the url was encoded twice. %25 is the urlencoded % sign. So the original url looked like:

    http://server.com/my path/
    

    Then it got urlencoded once:

    http://server.com/my%20path/
    

    and twice:

    http://server.com/my%2520path/
    

    So you should do no urlencoding - in your case - as other components seems to to that already for you. Use simply a space

提交回复
热议问题