changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > werc / changeset: Handle https urls consistently in redirects.

changeset 634: 44d651b498d4
parent 633: 1d396a08e592
child 635: dd58ad29ffbf
author: Uriel <u@berlinblue.org>
date: Mon, 24 May 2010 23:35:08 +0000
files: bin/werc.rc
description: Handle https urls consistently in redirects.
     1.1--- a/bin/werc.rc	Wed May 05 21:58:45 2010 +0000
     1.2+++ b/bin/werc.rc	Mon May 24 23:35:08 2010 +0000
     1.3@@ -96,7 +96,7 @@
     1.4         p=$$l
     1.5         r=$p(1)
     1.6         # If target is absolute, then patern must match whole string
     1.7-        if(~ $p(2) http://* https://)
     1.8+        if(~ $p(2) http://* https://*)
     1.9             r='^'$r 
    1.10         t=`{ echo $req_path | sed 's!'^$r^'!'^$p(2)^'!' } # Malicious danger!
    1.11