guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-55-g186830


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-55-g1868309
Date: Tue, 21 Feb 2012 16:45:32 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=1868309a9e34a04a5b3020e147d0ce029038b290

The branch, stable-2.0 has been updated
       via  1868309a9e34a04a5b3020e147d0ce029038b290 (commit)
      from  98385ed20abdc191a67daef8a00b1df0290a074a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1868309a9e34a04a5b3020e147d0ce029038b290
Author: Andy Wingo <address@hidden>
Date:   Tue Feb 21 16:42:53 2012 +0000

    quick fix to uri parser
    
    * module/web/uri.scm: Quick fix to not throw an error on e.g.
      http://2012.jsconf.us.

-----------------------------------------------------------------------

Summary of changes:
 module/web/uri.scm |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/module/web/uri.scm b/module/web/uri.scm
index 67ecbae..391a429 100644
--- a/module/web/uri.scm
+++ b/module/web/uri.scm
@@ -89,13 +89,13 @@ consistency checks to make sure that the constructed URI is 
valid."
 ;; 3490), and non-ASCII host names.
 ;;
 (define ipv4-regexp
-  (make-regexp "^([0-9.]+)"))
+  (make-regexp "^([0-9.]+)$"))
 (define ipv6-regexp
-  (make-regexp "^\\[([0-9a-fA-F:]+)\\]+"))
+  (make-regexp "^\\[([0-9a-fA-F:]+)\\]+$"))
 (define domain-label-regexp
   (make-regexp "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$"))
 (define top-label-regexp
-  (make-regexp "^[a-zA-Z]([a-zA-Z0-9-]*[a-zA-Z0-9])?$"))
+  (make-regexp "^[a-zA-Z]?([a-zA-Z0-9-]*[a-zA-Z0-9])?$"))
 
 (define (valid-host? host)
   (cond


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]