mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Name web plugin as the other plugins
This commit is contained in:
parent
9ce8e9d94d
commit
cf9129f6db
1 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ class Application:
|
|||
self.Auth = auth.load(configuration, logger)
|
||||
self.Collection = storage.load(configuration, logger)
|
||||
self.Rights = rights.load(configuration, logger)
|
||||
self.web = web.load(configuration, logger)
|
||||
self.Web = web.load(configuration, logger)
|
||||
self.encoding = configuration.get("encoding", "request")
|
||||
|
||||
def headers_log(self, environ):
|
||||
|
@ -563,7 +563,7 @@ class Application:
|
|||
"Redirected to %s" % web_path)
|
||||
# Dispatch .web URL to web module
|
||||
if path == "/.web" or path.startswith("/.web/"):
|
||||
return self.web.get(environ, base_prefix, path, user)
|
||||
return self.Web.get(environ, base_prefix, path, user)
|
||||
if not self._access(user, path, "r"):
|
||||
return NOT_ALLOWED
|
||||
with self.Collection.acquire_lock("r", user):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue