Closed h-inoue closed 9 years ago
cgi 実行のときに、ファイルを開こうとすると not found になりました。Apache のバージョンは 2.4.9 で、Rewrite のログは http://ix.io/iia です。
スタンドアロンのほうは良さそうでした。
VirtualHostにAllowEncodedSlashes Onを足す
確認ですが,これは追加してますか?こちらのApache 2.4.10 では動いている.
ごめんなさい、追加してませんでした。追加するとちゃんと見れました。
個人的には JS/Ruby ともにパスは encodeURIComponent で一括で置換して必要な文字だけを unescape するのに一票です.
個人的には JS/Ruby ともにパスは encodeURIComponent で一括で置換して必要な文字だけを unescape するのに一票です.
これをやってみました
:clap:
uriのpathパラメータが正しくescapeされるようにしました.以下の影響があります.
+
や&
付きpathに対して,「直接開く」が正しく動作する+
や&
付きディレクトリ以下のappletが読み込まれる前者はconfig.ruとfile_view.jsのバグ.後者の解決方法は,rackとcgiの場合で異なっています.
AllowEncodedSlashes On
を足す必要がある.