X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fpage.ml;h=db576c822ead70d06612371326347035aa1c1482;hb=6b0b6830a2e784eee99dcd1b1a3cb8b44e27c765;hp=03c3537ab6e7e337eff0aea631393979836ca0cd;hpb=0d88075fa62c0a801ea1e9246d85389f9161a4e1;p=cocanwiki.git diff --git a/scripts/page.ml b/scripts/page.ml index 03c3537..db576c8 100644 --- a/scripts/page.ml +++ b/scripts/page.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: page.ml,v 1.17 2004/09/22 10:19:26 rich Exp $ + * $Id: page.ml,v 1.18 2004/09/23 11:56:47 rich Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -254,7 +254,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid {edit_anon=edit_anon} user = error ~title:"Too many redirections" ~back_button:true q ("Too many redirects between pages. This may happen because " ^ "of a cycle of redirections."); - raise CgiExit + return () ) else match fetch_page page' version allow_redirect with | FPOK (pageid, title, description, last_modified_date, has_page_css)->