ページの作成や編集にはユーザ登録が必要です。
Locationを利用したredirect - Yoshimov (2003年10月10日 11時45分57秒)
MLのほうにも投稿したのですが、ページ保存後にリダイレクトを行なう際、HTTPのLocationヘッダも付けてもらえないでしょうか。
以下が3.5.1dev5用のパッチになります。
*** Wiki-org.pm Tue Oct 7 21:39:58 2003 --- Wiki.pm Fri Oct 10 11:39:58 2003 *************** *** 737,744 **** my $tmpl = HTML::Template->new(filename=>$self->config('tmpl_dir')."/redirect.tmpl", die_on_bad_params => 0); ! $tmpl->param(URL=>$self->config('script_name')."?page=".&Util::url_encode($page)); print "Content-Type: text/html\n\n"; print $tmpl->output(); exit; --- 737,746 ---- my $tmpl = HTML::Template->new(filename=>$self->config('tmpl_dir')."/redirect.tmpl", die_on_bad_params => 0); ! my $url = $self->config('script_name')."?page=".&Util::url_encode($page); ! $tmpl->param(URL=>$url); + print "Location: $url\n"; print "Content-Type: text/html\n\n"; print $tmpl->output(); exit;
最終更新時間:2003年10月10日 11時45分57秒