New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninterpreted HTML in warning message of settings import #14908
Comments
|
I don't think this is a security issue, because it is either a predetermined message or the message will be sanitized. |
|
I was probably cautious about how to report it but can move this issue to the bug tracker. Thanks. |
|
@ibennetch I wasn't able to reproduce the issue, can you give detailed testing instructions? |
|
@MauricioFauth can't we use the raw filter of twig in {{error}} part? |
|
I missed the question from @bahl24 earlier, but I've seen it now. To reproduce (you may need to first have defined some custom setting in this settings tab): Go to the Settings tab of the main page. The default tab is "Manage your settings". From "Export" pick "Save as file" (which should be "Save as JSON file", see #15115) - or create a custom JSON file from my example below. Save the JSON file to your local computer. Now go to the "Import" area and "Browse" to the file you just downloaded, then press "Go" to begin the import. This message is shown afterwards. My JSON file that reveals this problem: |
|
Fixed by 2a4729c |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using QA_4_8, I exported my settings, then tried to import them again. I got a warning message stating that some settings were invalid, and they included some literal
<i>and</i>rather than rendering the text in italics.The text was updated successfully, but these errors were encountered: