J!4.1.3. Current Firefox.
At the end of the day it's somehow a security issue because users can't activate security settings without losing functionality here or there.
Related #37799 (Same reason. Inline scripts in Joomla core make usage of CSP with nonces pointless).
Step 1:
mod_feed
.
https://www.rki.de/SiteGlobals/Functions/RSSFeed/RSSGenerator_nCoV.xml
RTL Feed
: Yes
.Banner
of Cassiopeia
.Step 2:
System - HTTP Headers
Content-Security-Policy (CSP)
.style-src: 'self' 'unsafe-inline'
Step 3:
System - HTTP Headers
Nonce
{nonce} 'self' 'unsafe-inline'
Reason:
direction: rtl
ignored.Inline scripts and styles shouldn't be used in Joomla core.
Labels |
Added:
No Code Attached Yet
|
A B\C solution can be something like this: https://github.com/ReLater/joomla-cms/pull/1/files
Other solution could be to add new helper classes to core CSS files like direction-rtl
and direction-ltr
, but not B\C if people use other templates.
A B\C solution can be something like this: https://github.com/ReLater/joomla-cms/pull/1/files
changed https://github.com/ReLater/joomla-cms/pull/1/files accordingly and got right aligned in frontend:
<div class="text-right feed modFeedDir-169"> <h2 class=" redirect-ltr">
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-05-23 20:41:40 |
Closed_By | ⇒ | richard67 |
@ReLater
Confirmed. Thank you for your instructions/explanations.
unsafe-inline'" is ignored inside script-src or style-src
Content Security Policy: The site's settings have blocked loading of a resource on inline ("style-src").
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37859.