If you go from the user menu then it works fine.
The changes should saved without any error
Getting an error - An error has occurred. 0
Some times getting below 500 error string on screen
Error: "500 "https://adityajoomlafour.joomla.com/administrator/index.php����[ۏX��W��ۙ�Y" is not valid header value" is not valid header value: "https://adityajoomlafour.joomla.com/administrator/index.php����[ۏX��W��ۙ�Y" is not valid header value
To reproduce
Error: "500 "http://localhost/joomla-cms-4.0-dev/administrator/index.php����[ۏX��W���[� ��Y]�X\��X��\" is not valid header value" is not valid header value: "http://localhost/joomla-cms-4.0-dev/administrator/index.php����[ۏX��W���[� ��Y]�X\��X��\" is not valid header value
Here is the return URL:
aHR0cDovL2xvY2FsaG9zdC9qb29tbGEtY21zLTQuMC1kZXYvYWRtaW5pc3RyYXRvci9pbmRleC5waHA/b3B0aW9uPWNvbV9jb250ZW50JnZpZXc9YXJ0aWNsZXM=
<input type="hidden" name="return" value="<?php echo $input->getCmd('return'); ?>">
getCmd
accepts only A-Za-z0-9.-_
therefore =
and /
are stripped in the above URL as seen below.
<input type="hidden" name="return" value="aHR0cDovL2xvY2FsaG9zdC9qb29tbGEtY21zLTQuMC1kZXYvYWRtaW5pc3RyYXRvci9pbmRleC5waHAb3B0aW9uPWNvbV9jb250ZW50JnZpZXc9YXJ0aWNsZXM">
Would getString
be an acceptable fix?
No, use BASE64 filter.
Can you please provide code? Thanks.
$input->get('return', null, 'BASE64')
or $input->getBase64('return')
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-23 03:05:20 |
Closed_By | ⇒ | Quy |
Please test PR #26776
I have not been able to replicate this