1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/module/web
Andy Wingo 3fabb2d2be more uri-related ipv6 fixes
* module/web/uri.scm (ipv6-regexp): IPv6 numeric addresses do not have
  brackets.  It's only in URIs that they have them.
  (ipv6-host-pat, authority-regexp, parse-authority): Refactor ipv6
  detection to fix a bug with |, and to extract IPv6 hosts from their
  brackets.  This way we can pass the uri-host directly to inet-pton.
  (uri->string): If the host contains a `:', assume it is ipv6 and add
  brackets.

* test-suite/tests/web-uri.test ("build-uri"): Adapt tests to assume
  that the address returned by uri-host and passed to build-uri #:host
  does not have brackets.
2012-07-06 13:13:19 +02:00
..
server web server http: 400 Bad Request on bad requests 2012-03-11 10:29:06 +01:00
client.scm Update a comment in (web client) 2011-12-06 11:46:58 +01:00
http.scm add exception printers for bad-header, bad-header-component 2012-03-22 09:56:27 +01:00
request.scm add bad-request printer 2012-03-22 09:56:27 +01:00
response.scm web server: do not provide a response body where it is not permitted 2012-02-12 13:29:19 +01:00
server.scm web server: fix spurious warning 2012-02-14 17:32:25 +01:00
uri.scm more uri-related ipv6 fixes 2012-07-06 13:13:19 +02:00