Files
dokku/tests/unit
Lewis Marshall 9202f110ab Fix wildcard TLS domain detection
As per RFC 2818 [0], a CN of *.dokku.me will only match direct
subdomains of dokku.me, not sub-subdomains like www.test.dokku.me, but
Dokku currently enables TLS for subdomains of all levels.

I have changed the regex from .*\.dokku\.me to [^.]*\.dokku\.me so TLS
is only enabled for direct subdomains.

[0] - http://tools.ietf.org/html/rfc2818#section-3.1

Signed-off-by: Lewis Marshall <lewis@lmars.net>
2015-03-08 21:32:31 +00:00
..
2015-02-07 17:56:01 -08:00
2014-12-21 14:51:40 -08:00
2014-12-22 15:52:54 -08:00
2015-02-07 17:56:01 -08:00
2015-02-26 01:24:39 +00:00