kaiki
V2EX  ›  问与答

.htaccess 如何匹配#这个字符?

  •  
  •   kaiki · Oct 19, 2020 · 1113 views
    This topic created in 2037 days ago, the information mentioned may be changed or developed.
    http://loaclhost/#123
    目标 index.php?id=123
    2 replies    2020-10-19 12:39:20 +08:00
    momocraft
        1
    momocraft  
       Oct 19, 2020
    一般 URL 中的#和之后的 fragment 不会被传到服务器
    kaiki
        2
    kaiki  
    OP
       Oct 19, 2020
    @momocraft
    http://loaclhost/%23123 可以传输 123,#123 就不行,看样子的确没传输,谢谢了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:02 · PVG 05:02 · LAX 14:02 · JFK 17:02
    ♥ Do have faith in what you're doing.