bruno DA SILVA
46d91322c1
n°2556 - fix errors in the merge of support/2.7 into develop
...
The cherry picks resulted in an out of order apply of the commits, the result was that the wrong code was keeped
2020-07-01 15:41:46 +02:00
Pierre Goiffon
888232e8c3
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# test/core/HTMLDOMSanitizerTest.php
2020-06-26 10:53:49 +02:00
bruno DA SILVA
be20705449
Add unit test.
...
unit test the behaviour of the removal of the blacklisted html tags
this is in fact an adaptation of the test added for the rolled-back feature of the n°2556.
This feature has been postponed to the 2.8 due to performance scaling issues.
2020-06-22 16:13:31 +02:00
bruno DA SILVA
d3525190d5
N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)
...
forbidden list: see $aTagsContentRemovableList
(cherry picked from commit 746b47bb0e )
(cherry picked from commit 79909fadc0 )
2020-06-22 11:40:38 +02:00
Pierre Goiffon
8d73eb6dff
Revert "N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)"
...
This reverts commit 746b47bb0e .
Revert "N°2556 - Repair CI"
This reverts commit 79909fadc0 .
2020-06-22 11:36:46 +02:00
bruno DA SILVA
79909fadc0
N°2556 - Repair CI
2020-05-14 10:49:31 +02:00
bruno DA SILVA
746b47bb0e
N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)
...
forbidden list: see $aTagsContentRemovableList
2020-05-14 10:33:30 +02:00
odain
b0856c1abf
fix HTMLDOMSanitizerTest due to merge
2019-12-03 12:10:26 +01:00
odain
b298a1fa82
fix invalid merge
2019-12-03 11:23:25 +01:00
odain
4013b76c9e
Merge branch 'speedup_jenkins' into develop
2019-12-03 11:09:30 +01:00
Pierre Goiffon
28818010d6
N°2558 Test for the HTMLDOMSanitizer white list
2019-12-03 10:58:21 +01:00
Pierre Goiffon
9abcf40df7
N°2558 Test for the HTMLDOMSanitizer white list : remove new lines
...
the parser gives different results depending on the PHP version
Didn't manage to get it right :
- no php.ini difference
- playing with the parser preserveWhitespace/formatOutput parser options didn't help
So we're removing new lines on both sides :/
2019-12-03 09:47:45 +01:00
Pierre Goiffon
b67dc888fe
N°2558 Test for the HTMLDOMSanitizer white list
2019-12-03 08:42:25 +01:00
Eric
c1cf084e43
fix unit tests - Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 16:32:19 +01:00
Eric
87c794b22e
fix unit tests - Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 15:44:17 +01:00
Eric
f90381d412
Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 08:57:47 +01:00