mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Improve regex for Well-Known URIs
Example to show the problem: /Xwell-known/carddavXX
This commit is contained in:
parent
53c3113b44
commit
7cb31fe22b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ VERSION = "1.0.1"
|
|||
# tries to access information they don't have rights to
|
||||
NOT_ALLOWED = (client.FORBIDDEN, {}, None)
|
||||
|
||||
WELL_KNOWN_RE = re.compile(r"/.well-known/(carddav|caldav)/?")
|
||||
WELL_KNOWN_RE = re.compile(r"/\.well-known/(carddav|caldav)/?$")
|
||||
|
||||
|
||||
class HTTPServer(wsgiref.simple_server.WSGIServer, object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue