mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
lib: Add ssh/sftp schemas in to DomainlessFormattedURLValidator (#19881)
Add ssh/sftp schemas in application URL Signed-off-by: Sergey Popov <37712288+PopovSergeyS@users.noreply.github.com>
This commit is contained in:
@@ -110,4 +110,4 @@ class DomainlessFormattedURLValidator(DomainlessURLValidator):
|
||||
r"\Z",
|
||||
re.IGNORECASE,
|
||||
)
|
||||
self.schemes = ["http", "https", "blank"] + list(self.schemes)
|
||||
self.schemes = ["http", "https", "blank", "ssh", "sftp"] + list(self.schemes)
|
||||
|
||||
Reference in New Issue
Block a user