* URIに使える文字 [#k88b5da1]
-[[URIに使ってよい文字の話 - RFC2396 と RFC3986:http://d.hatena.ne.jp/keisukefukuda/20080321/p1]]
-[[RFC2396:http://jbpe.tripod.com/rfcj/rfc2396.ej.sjis.txt]]
-[[URL指定:http://www.tohoho-web.com/html/attr/url.htm]]
-[[URI(URL)における非ASCII文字の憂鬱:http://www.d-toybox.com/studio/lib/uri.html]]

 RFC3986 Appendix A. Collected ABNF for URI
 
 URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
 query = *( pchar / "/" / "?" )
 pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
 unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
 pct-encoded = "%" HEXDIG HEXDIG
 sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="

|種類|文字|h
|英字|a-zA-Z|
|数字|0-9|
|記号(1)|- . _ ~|
|記号(2)|: / @|
|記号(3)|! $ & ' / ( ) * + , ; =|
|エンコードされた文字| %[hex][hex] |
|クエリ|?|
|ページ内フラグ|#|

* URLの長さの上限 [#x9eaa805]
-[[WWW FAQs: What is the maximum length of a URL?:http://www.boutell.com/newfaq/misc/urllength.html]]
--2000byteが上限と考えておいた方が良い

-Internet Exploler ... [[GETの場合 2083byte が上限:http://support.microsoft.com/kb/208427]]
-Apache... 4000byteはOK

* URLエンコード [#t068df17]
-[[URIエンコード(URLエンコード):http://diaspar.jp/node/148]]
-[[URLエンコードの現実:URLエンコードの現実]]

** URLエンコード表 [#f0e1cee1]
|CHAR|CODE|
|SPACE|%20|
|!|%21|
|"|%22|
|#|%23|
|$|%24|
|%|%25|
|&|%26|
|'|%27|
|(|%28|
|)|%29|
|*|%2A|
|+|%2B|
|,|%2C|
|/|%2F|
|:|%3A|
|;|%3B|
|<|%3C|
|=|%3D|
|>>|%3E|
|?|%3F|
|@|%40|
|[|%5B|
||%5C|
|]|%5D|
|^|%5E|
|`|%60|
|{|%7B|
||%7C|
|}|%7D|
|~|%7E|

* ツール [#t8777902]
-[[URLデコーディングツール:http://hicage.net/url/]] ... CSVファイル内のURLのデコードを行ってくれる

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS