Univention Bugzilla – Attachment 10895 Details for
Bug 54305
The hostname for objects in the kelvin api is case sensitiv
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested patch
case.patch (text/plain), 624 bytes, created by
Jürn Brodersen
on 2022-01-06 11:15:28 CET
(
hide
)
Description:
Suggested patch
Filename:
MIME Type:
Creator:
Jürn Brodersen
Created:
2022-01-06 11:15:28 CET
Size:
624 bytes
patch
obsolete
>diff --git a/kelvin-api/ucsschool/kelvin/routers/base.py b/kelvin-api/ucsschool/kelvin/routers/base.py >index e53235349..9767d2bf0 100644 >--- a/kelvin-api/ucsschool/kelvin/routers/base.py >+++ b/kelvin-api/ucsschool/kelvin/routers/base.py >@@ -118,7 +118,7 @@ class LibModelHelperMixin(BaseModel): > single-character equivalents. > """ > up: ParseResult = urlparse(url) >- replaced = up._replace(scheme="http", path=unquote(up.path)) >+ replaced = up._replace(scheme="http", netloc=up.netloc.lower(), path=unquote(up.path)) > return replaced.geturl() > > @validator("udm_properties")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54305
: 10895