Unverified Commit 7b9b4965 authored by Nicola Soranzo's avatar Nicola Soranzo
Browse files

Fix param passed to exception

parent 4d15cb5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ class TrsProxy:
        if url.lstrip().startswith("file://"):
            # requests doesn't know what to do with file:// anyway, but just in case we swap
            # out the implementation
            raise RequestParameterInvalidException("Invalid TRS URL %s", url)
            raise RequestParameterInvalidException(f"Invalid TRS URL {url}")
        validate_non_local(url, ip_allowlist=ip_allowlist or [])
        return self._match_url(url)