Pull-request: #20091 Fixes: #18773 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
3f658b8e15
@ -1068,6 +1068,7 @@ class Generator
|
||||
str_contains($url, 'sql_query=')
|
||||
&& ! str_contains($url, 'sql_signature=')
|
||||
)
|
||||
|| $GLOBALS['cfg']['URLQueryEncryption']
|
||||
|| str_contains($url, 'view[as]=');
|
||||
if ($respectUrlLengthLimit && $isDataPostFormatSupported) {
|
||||
$parts = explode('?', $url, 2);
|
||||
|
||||
@ -19935,6 +19935,11 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Html/Generator.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'URLQueryEncryption' on mixed\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Html/Generator.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'first_timestamp' on mixed\\.$#"
|
||||
count: 1
|
||||
|
||||
@ -7607,7 +7607,8 @@
|
||||
<code>$urlParams</code>
|
||||
<code>$urlParams</code>
|
||||
</InvalidArgument>
|
||||
<InvalidArrayOffset occurrences="2">
|
||||
<InvalidArrayOffset occurrences="3">
|
||||
<code>$GLOBALS['cfg']['URLQueryEncryption']</code>
|
||||
<code>$server['ssl']</code>
|
||||
<code>$server['ssl_verify']</code>
|
||||
</InvalidArrayOffset>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user