mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
lib: Fix Url paramter encoding if parameter is a Url object
fixes #10321
This commit is contained in:
parent
1e35a17ec1
commit
b5c8579d0e
@ -171,7 +171,7 @@ class UrlParams
|
||||
|
||||
protected function urlEncode($value)
|
||||
{
|
||||
return rawurlencode((string) $value);
|
||||
return rawurlencode($value instanceof Url ? $value->getAbsoluteUrl() : (string) $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user