GithubHelp home page GithubHelp logo

Comments (7)

bhsmither avatar bhsmither commented on August 27, 2024

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.

Dirty-Butter avatar Dirty-Butter commented on August 27, 2024

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.

bhsmither avatar bhsmither commented on August 27, 2024

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.

Dirty-Butter avatar Dirty-Butter commented on August 27, 2024

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.

bhsmither avatar bhsmither commented on August 27, 2024

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.

Dirty-Butter avatar Dirty-Butter commented on August 27, 2024

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.

abrookbanks avatar abrookbanks commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.