V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
DreamCMS
V2EX  ›  问与答

nginx 服务器上有一个 1%2.jpg 图片,请求 http://xxx.com/1%2.jpg 404 错误%变成%25 就可以?这是为什么?

  •  
  •   DreamCMS · 2016-07-26 00:55:38 +08:00 · 1454 次点击
    这是一个创建于 2840 天前的主题,其中的信息可能已经有所发展或是发生改变。
    7 条回复    2016-07-26 18:34:19 +08:00
    DaCong
        2
    DaCong  
       2016-07-26 07:38:59 +08:00   ❤️ 1
    提示一下,在用域名举例子的时候,请不要用类似 xxx.com ,请使用 example.com ,以防止出现色情网站。
    ZE3kr
        3
    ZE3kr  
       2016-07-26 07:58:57 +08:00 via iPhone
    补充一下, RFC 6761 章节 6.5 里面列举了所有 Example domaim , https://tools.ietf.org/html/rfc6761

    "example.", "example.com.", "example.net.",
    "example.org.",这些域名没有“奇奇怪怪”的东西
    imn1
        4
    imn1  
       2016-07-26 09:40:07 +08:00
    我昨天不是回过你一次了么?怎么还问相同问题?
    aprikyblue
        5
    aprikyblue  
       2016-07-26 09:46:41 +08:00 via Android
    urlencode
    shmilyin
        6
    shmilyin  
       2016-07-26 10:26:08 +08:00
    楼上正解。 % 的 urlencode 是%25
    lcorange
        7
    lcorange  
       2016-07-26 18:34:19 +08:00
    @DaCong 给老司机服了。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1081 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:03 · PVG 02:03 · LAX 11:03 · JFK 14:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.