2007-01-01から1ヶ月間の記事一覧

prototype.js v1.5のHash.toQueryString()にはバグがある

ソースを読んで発見。 selectタグにmultipleが指定されているときのように、keyに対するvalueが複数個ある場合、valueに対して2回encodeURIComponentを実行している。 649行目が不具合のご様子。 values.each(function(value) { value = value != undefined …