Task #94797
closedBug #94787: Tracking issue related to HTML sanitization issues
Enhance documentation for integration of html-sanitizer
100%
Description
The example
class MyCustomBuilder extends DefaultSanitizerBuilder implements BuilderInterface { public function createBehavior(): Behavior { // extends existing behavior, adds new tag return parent::createBehavior() ->withName('my-custom') ->withTags( (new Behavior\Tag('my-element', Behavior\Tag::ALLOW_CHILDREN)) ->addAttrs( (new Behavior\Attr('href'))->addValues( new Behavior\RegExpAttrValue('#^(?:https?://|mailto:)#') ), ...$this->globalAttrs ) ); } } }
from https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.5.x/Important-94484-IntroduceHTMLSanitizer.html
has one too many } in the example
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70440
Updated by Oliver Hader over 3 years ago
Found other things that can be enhanced here...
- TypoScript example
- information about custom logging
Updated by Oliver Hader over 3 years ago
- Tracker changed from Bug to Task
- Subject changed from RST Document - To many } in code example for to Enhance documentation for integration of html-sanitizer
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70440
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 11.3 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70417
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70418
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70419
Updated by Tomas Norre Mikkelsen over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 94c1b06babcfa8411fba675caaba0277651b3f64.
Updated by Gerrit Code Review over 3 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70446
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch 11.3 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70417
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70419
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70418
Updated by Oliver Hader over 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 02c2b6e7b8be012ab80751446ade78a5374a7f39.
Updated by Oliver Hader over 3 years ago
- Status changed from Resolved to Under Review
Updated by Tomas Norre Mikkelsen over 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 0819a2d433db5f2560591d413f4a792784807dfd.