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:
Sergey Popov
2026-02-02 18:49:55 +03:00
committed by GitHub
parent 12ebd3b574
commit 85ceaa6c74
+1 -1
View File
@@ -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)