View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032076 | mantisbt | bugtracker | public | 2023-02-28 08:34 | 2023-04-11 19:07 |
Reporter | makgreg | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.24.4 | ||||
Target Version | 2.25.7 | Fixed in Version | 2.25.7 | ||
Summary | 0032076: Ampersand in $g_search_title prevents adding search engine | ||||
Description | Hello, While trying to add the search engine in my Firefox browser I faced the following error message: Invalid Format : Thank you. | ||||
Steps To Reproduce | o Right click in the URL bar | ||||
Additional Information | Looks like it is due to the ampersand (&) I have in my site name... | ||||
Tags | No tags attached. | ||||
Problem is confirmed. As a workaround, I suggest you remove the ampersand |
|
Yes no problem, thank you for the answer ;) |
|
Since this is a non-critical issue with a simple and accepted a workaround, I'm targeting resolution to 2.26.0 release. |
|
While this was initially set to be fixed in 2.26.0, since I started work on a 2.25.7 release due to a regression issue (see 0032086), might as well pull this one in as well. |
|
MantisBT: master-2.25 456d874d 2023-02-28 11:06 Details Diff |
Fix escaping of OpenSearch Shortname property Improper escaping prevented the user from adding a Search Engine when $g_search_title contains an ampersand. The `" ' < > &` characters in the config variable are now escaped - in layout_api.php, to generate proper HTML is in the page head - in browser_search_plugin.php, to ensure valid XML is produced for the OpenSearch descriptor. Fixes 0032076 |
Affected Issues 0032076 |
|
mod - browser_search_plugin.php | Diff File | ||
mod - core/layout_api.php | Diff File |