List of valid characters for the fragment identifier in an URL?

后端 未结 3 418
滥情空心
滥情空心 2020-11-28 05:52

I\'m using the fragment identifier to create a permalink for AJAX events in my web app similar to this guy. Something like:

http://www.myapp.com/calendar#fi         


        
3条回答
  •  忘掉有多难
    2020-11-28 06:11

    One other RFC speak of that: RFC-1738

    URL schemeparts for ip based protocols:
    HTTP
    
    httpurl        = "http://" hostport [ "/" hpath [ "?" search ]]
    hpath          = hsegment *[ "/" hsegment ]
    hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    search         = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    

提交回复
热议问题