[vhffs-dev] [1554] Tag search pagination was broken months ago...

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1554
Author:   beuss
Date:     2010-03-12 23:25:14 +0100 (Fri, 12 Mar 2010)
Log Message:
-----------
Tag search pagination was broken months ago... It seems to be a very useful feature

Modified Paths:
--------------
    trunk/vhffs-doc/config/apache/publicconf

Modified: trunk/vhffs-doc/config/apache/publicconf
===================================================================
--- trunk/vhffs-doc/config/apache/publicconf	2010-03-12 08:47:05 UTC (rev 1553)
+++ trunk/vhffs-doc/config/apache/publicconf	2010-03-12 22:25:14 UTC (rev 1554)
@@ -18,8 +18,8 @@
                 RewriteEngine On
 		# This is the only way we found to handle
 		# tags with a plus in their label
-                RewriteCond %{THE_REQUEST} ^(?:GET|POST)\ /tags/([^/]+)\ HTTP/\d\.\d$
-                RewriteRule . /tagsearch.pl?search=%1 [NE,L]
+                RewriteCond %{THE_REQUEST} ^(?:GET|POST)\ /tags/([^/?]+)(?:\?(\S+))?\ HTTP/\d\.\d$
+                RewriteRule . /tagsearch.pl?search=%1&%2 [NE,L]
         </IfModule>
 
         ErrorLog /var/log/apache2/projects-error.log


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/