[Kansai-pm] Re: cgiパラメータの順序
片松 祐司
katama2 at osk.toppan.co.jp
Wed Jul 21 00:30:00 CDT 2004
片松です
お久しぶりです
少し気になった事が…
> 「IEと同じパラメータを送っているはずなのに…。」で、生のリクエストの内
> 容を見てみると、IEはパラメータをパラメータ名でソートして並べて送っている
> が、問題のスクリプトはソートしていない(Perlのハッシュの順序のまま)、と
IEはパラメータ名でソートされていましたでしょうか?
フォームの出現順だったと思うのですが…
(参考)(と書いて余計なお世話と読む…)
http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.13.4
より引用
> 17.13.4 Form content types
(略)
> application/x-www-form-urlencoded
(略)
> 2. The control names/values are listed in the order they appear in the
> document. The name is separated from the value by `=' and name/value
> pairs are separated from each other by `&'.
(略)
> multipart/form-data
(略)
> A "multipart/form-data" message contains a series of parts, each
> representing a successful control. The parts are sent to the processing
> agent in the same order the corresponding controls appear in the
> document stream. Part boundaries should not occur in any of the data;
> how this is done lies outside the scope of this specification.
ではまた
--
片松 祐司 <katama2 at osk.toppan.co.jp>
More information about the Kansai-pm
mailing list