Comments (7)
The Sanitize class no longer uses a set of exempted POST keys. Thus, the value for every POST key gets sent through the _safety()
function.
In _safety()
, the value is run through a FILTER_SANITIZE_STRING which strips out HTML tags.
This might not be a quick fix.
from v6.
Is that what that setting about parsing smarty is for?
On January 10, 2015, at 8:21 PM, Brian Smither [email protected] wrote:
The Sanitize class no longer uses a set of exempted POST keys. Thus, the value for every POST key gets sent through the _safety() function.
In _safety(), the value is run through a FILTER_SANITIZE_STRING which strips out HTML tags.
This might not be a quick fix.
—
Reply to this email directly or view it on GitHub.
from v6.
HTML tags use the open-angle and close-angle. Smarty tags use the open-brace and close-brace and will survive sanitation. The Sanitizer applies to all input
I do not yet know what "Parse Smarty Tags" will do. I think it does not allow a POSTed value to escape sanitization.
from v6.
So how can I get v6 to allow simple paragraph, font color editing, etc. in the document boxes? Or is this a bug? It does save a simple text color change to the provided Homepage document, but it would not save a highlight text color, even though the editor has that as a choice.
from v6.
I see the Sanitizer stripping out all HTML tags, so how a simple text color change got saved, I don't know.
Is this a bug? I would say so since you reported here.
from v6.
Documents are working correctly for me now, but not sure why. I have had trouble getting CC cache cleared. There doesn't seem to be a way within v6 to turn off cache, and FF is being stubborn, too.
Contact Us form has no language choices (v5 didn't either), but it will NOT save formatting changes. Reverts to plain text. Very confusing to me.
from v6.
I can't reproduce this but I think this is due to an earlier cache bug which is now fixed. The admin CP now clears the cache on each page load rather than trying to decide when bits need clearing.
from v6.
Related Issues (20)
- Syntax Error HOT 1
- Maintenance, Database May Report False Negative
- Elasticsearch: SAYT not matching standard search HOT 1
- Elasticsearch: Only index if stock is > 0 HOT 1
- exclude products from coupon code HOT 1
- Password Reset SQL Injection Vulnerability & Misc Improvements
- Newsletter Management Feature
- Syntax HOT 1
- Syntax in Language Phrase HOT 1
- Search filter not showing
- Double opt in email verification is ambigious
- Smarty Combine Creates Bad URLs
- Smarty_Internal_Undefined Object ([class] => Smarty_Internal_Method_MuteExpectedErrors) HOT 2
- Order Inventory Items by Name ASC
- Logic Error HOT 1
- Newsletter Signup Enable/Disable
- Missing Database Table
- Empty include_path
- Missing Column in Query Result
- Variable Used Twice for Different Purposes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v6.