[Inteproxy-commits] r280 - trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 30 12:11:15 CEST 2010


Author: bjoern
Date: 2010-09-30 12:11:14 +0200 (Thu, 30 Sep 2010)
New Revision: 280

Modified:
   trunk/ChangeLog
   trunk/create-rewrite-rules.py
Log:
Adapt create-rewrite-rules.py substitution_rule function to be able to use
hyphenated urls in rewriting server responses.



Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-09-24 10:18:10 UTC (rev 279)
+++ trunk/ChangeLog	2010-09-30 10:11:14 UTC (rev 280)
@@ -1,3 +1,8 @@
+2010-09-30  Bjoern Schilberg <bjoern.schilberg at intevation.de>
+	
+	* create-rewrite-rules.py: Adapt delimiter in substitution_rule to be
+	able to use hyphenated urls in rewriting server responses.
+	
 2010-09-22  Ingo Weinzierl <ingo.weinzierl at intevation.de>
 
 	* inteproxy/httpconnection.py(extract_identities_from_certificate):

Modified: trunk/create-rewrite-rules.py
===================================================================
--- trunk/create-rewrite-rules.py	2010-09-24 10:18:10 UTC (rev 279)
+++ trunk/create-rewrite-rules.py	2010-09-30 10:11:14 UTC (rev 280)
@@ -45,7 +45,7 @@
     return rule, subst_regex
 
 def substitution_rule(regexes, prefix):
-    delimiter = "-"
+    delimiter = "!"
     def quote_delimiter(s, needs_backslash=True):
         if needs_backslash:
             backslash = "\\"



More information about the Inteproxy-commits mailing list