[hackers] [quark] Fix example regex in vhosts || Laslo Hunhold
commit 10d2ffe53ad5c28b3cc7134131f4a1b24a162d7d
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Fri Jul 21 18:36:02 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Fri Jul 21 18:36:02 2017 +0200
Fix example regex in vhosts
Thanks Hiltjo for noticing this!
diff --git a/config.def.h b/config.def.h
index 0b800bf..7abac23 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -19,8 +19,8 @@ static struct {
const char *dir;
regex_t re;
} vhost[] = {
- /* canonical host host regex directory */
- { "example.org", "^(www.)example.org$", "/example.org" },
+ /* canonical host host regex directory */
+ { "example.org", "^(www\.)?example.org$", "/example.org" },
};
/* mime-types */
Received on Fri Jul 21 2017 - 18:36:10 CEST
This archive was generated by hypermail 2.3.0
: Fri Jul 21 2017 - 18:37:06 CEST