- 20 Jan, 2023 1 commit
-
-
Matthieu Marcillaud authored
-
- 13 Jan, 2023 1 commit
-
-
Matthieu Marcillaud authored
-
- 09 Jan, 2023 1 commit
-
-
Matthieu Marcillaud authored
Refs: #5369
-
- 09 Oct, 2022 1 commit
-
-
Matthieu Marcillaud authored
-
- 29 Sep, 2022 2 commits
-
-
Cerdic authored
On les collecte via un collecteur dédié et on les échappe avant le passage dans HtmlPurifier, en n'acceptant ici que les balises ayant ces 2 attributs. Si il y a un autre attribut il sera supprimé. Si il manque un de ces attributs on ignore la balise qui sera filtrée par HtmlPurifier + jeu de tests unitaires Refs: #4790
-
Cerdic authored
fix: fork minimal pour gérer les attributs `itemscope`, `itemtype`, `itemid`, `itemprop` et `content` des microdata + un test unitaire sur le sujet Refs: #4790
-
- 20 Sep, 2022 4 commits
-
-
Cerdic authored
Refs: https://git.spip.net/spip/spip/issues/5334
-
Cerdic authored
-
Cerdic authored
-
-
- 07 Sep, 2022 1 commit
-
-
Cerdic authored
Refs: https://git.spip.net/spip/safehtml/issues/4786
-
- 25 Aug, 2022 6 commits
-
-
Matthieu Marcillaud authored
-
Matthieu Marcillaud authored
-
Cerdic authored
- La sortie html varie un peu decelle l'ancienne safehtml - Presque tous les tests fonctionnent, sauf data-…
-
Cerdic authored
-
Cerdic authored
fix: utiliser la librairie HtmlPurifier dans la fonction inc_safehtml_dist(). On met en place une config par defaut pas trop sévère, mais on laisse la possibilité de proposer une configuration personalisée via un fichier pour les utilisateurs avancés Refs: https://git.spip.net/spip/spip/issues/3926
-
Cerdic authored
On supporte HTML5 avec : - Use ezyang/htmlpurifier (HTMLPurifier) build with 1.14.0@dff4746e133777583fbf43d2b95372e8d818df1f - Use xemlock/htmlpurifier-html5 (HTMLPurifier_HTML5) as dependency Refs: https://git.spip.net/spip/spip/issues/3926
-
- 02 Jun, 2022 1 commit
-
-
Matthieu Marcillaud authored
-
- 20 May, 2022 2 commits
-
-
Matthieu Marcillaud authored
-
Matthieu Marcillaud authored
-
- 09 Mar, 2022 1 commit
-
-
Cerdic authored
-
- 28 Jan, 2022 2 commits
-
-
Matthieu Marcillaud authored
-
Matthieu Marcillaud authored
-
- 20 Jan, 2022 1 commit
-
-
Matthieu Marcillaud authored
-
- 19 Jan, 2022 1 commit
-
-
Matthieu Marcillaud authored
-
- 14 Jan, 2022 1 commit
-
-
Matthieu Marcillaud authored
-
- 08 Sep, 2021 1 commit
-
-
JamesRezo authored
Co-authored-by:
JamesRezo <james@rezo.net> Reviewed-on: https://git.spip.net/spip/safehtml/pulls/4777 Co-authored-by:
JamesRezo <jamesrezo@noreply.git.spip.net> Co-committed-by:
JamesRezo <jamesrezo@noreply.git.spip.net>
-
- 20 Jul, 2021 1 commit
-
-
Cerdic authored
-
- 08 Jul, 2021 1 commit
-
-
Matthieu Marcillaud authored
-
- 01 Jun, 2021 1 commit
-
-
Matthieu Marcillaud authored
-
- 12 May, 2021 1 commit
-
-
https://core.spip.net/issues/4706Cerdic authored
Fix https://core.spip.net/issues/4706 : les attributs HTML5 data-xx ne doivent pas etre supprimes par safehtml, on accepte le - dans la regexp sur ceux ci
-
- 07 May, 2021 5 commits
-
-
Maïeul Rouquette authored
-
Cerdic authored
-
Cerdic authored
-
Cerdic authored
Mise a jour de SafeHTML en version 1.3.12 depuis https://bitbucket.org/wackowiki/wackowiki/src/master/wacko/lib/ Inclue notamment 1.3.12 added missing HTML5 tag terminators for paragraph removed obsolete and deprecated HTML elements 1.3.11. added new HTML5 Block-level elements et le support de PHP 7
-
Cerdic authored
Un test unitaire pour safehtml avec des string random et un jeu de test xss pour au moins verifier qu'on ne casse rien quand on up la lib
-
- 01 May, 2021 1 commit
-
-
Matthieu Marcillaud authored
-
- 27 Apr, 2021 1 commit
-
-
erational authored
-
- 15 Apr, 2021 2 commits