core.bones.rawValueBone

Module Contents

Classes

rawValueBone

Stores it’s data without applying any pre/post-processing or filtering. Can be used to store non-html content.

class core.bones.rawValueBone.rawValueBone

Bases: viur.core.bones.baseBone

Stores it’s data without applying any pre/post-processing or filtering. Can be used to store non-html content. Use the dot-notation like “rawvalue.markdown” or similar to describe subsequent types.

..Warning: Using this bone will lead to security vulnerabilities like reflected XSS unless the data is either

otherwise validated/stripped or from a trusted source! Don’t use this unless you fully understand it’s implications!

type = rawvalue
singleValueFromClient(self, value, skel, name, origData)