changeset 36:9d5d92029b3c

~ fix
author Denis Ah-Kang <denis@w3.org>
date Thu, 11 Aug 2011 11:42:38 +0200
parents be526f103e9c
children 04a0e6c30b3c
files src/main/scala/Main.scala
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/scala/Main.scala	Wed Aug 10 18:55:37 2011 -0400
+++ b/src/main/scala/Main.scala	Thu Aug 11 11:42:38 2011 +0200
@@ -188,10 +188,11 @@
 //      case Path("/2005/07/pubrules-checker") & QueryString(queryString) => Redirect("/2005/09/checker/pubrules-form"+queryString)
         case Path("/2005/09/checker/pubrules-parser") & QueryString(queryString) & Params(params) => {
           lazy val check = params("check").headOption
-          lazy val uri = params("check").headOption
+          lazy val uri = params("uri").headOption
           lazy val filter = params("filter").headOption
           if (check.isDefined && uri.isDefined)
-            Redirect("/2005/09/checker/pubrules-form" + queryString)
+            //Redirect("/2005/09/checker/pubrules-form?" + queryString)
+            Redirect("/2005/09/checker/pubrules-form-generic?" + queryString)
           else if (filter.isDefined)
             Redirect("http://www.w3.org/2005/07/pubrules?" + queryString + "#docreqs")
           else
Set up and maintained by W3C Systems Team, please report bugs to sysreq@w3.org.

W3C would like to thank Microsoft who donated the server that allows us to run this service.