Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2008-12-11
2008-12-11 17:18:30 by 0
2a825379b36f8df5825af98af0e6dff75cae3887 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Make glob matching work for IPv6 ANY.
Rev: server/etc/modules/Roxen.pmod:1.262
1:
// This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
261
2008/12/11
15
:
32
:
28
jonasw Exp $
+
// $Id: Roxen.pmod,v 1.
262
2008/12/11
17
:
18
:
30
jonasw Exp $
#include <roxen.h> #include <config.h>
4512:
Standards.URI uri = uris[url]; string server = uri->host;
+
if (server == "::")
+
server = "*";
foreach(hosts, string host) if (glob(server, host)) uri->host = host;