adjusted tests for new buildURLparams()null values are no longer added as empty parameters.
Tests: The at() matcher has been deprecatedfixes #3811Replaces at() with withConsecutive() in these tests:- TestOfLexer::testSinglePattern- TestOfLexer::testMultiplePattern- TestOfLexerModes:
Tests: The at() matcher has been deprecatedfixes #3811Replaces at() with withConsecutive() in these tests:- TestOfLexer::testSinglePattern- TestOfLexer::testMultiplePattern- TestOfLexerModes::testIsolatedPattern- TestOfLexerModes::testModeChange- TestOfLexerModes::testNesting- TestOfLexerModes::testSingular- TestOfLexerModes::testUnwindTooFar- TestOfLexerHandlers::testModeMapping- TestOfLexerByteIndices::testIndex- TestOfLexerByteIndices::testIndexLookaheadEqual- TestOfLexerByteIndices::testIndexLookaheadNotEqual- TestOfLexerByteIndices::testIndexLookbehindEqual- TestOfLexerByteIndices::testIndexLookbehindNotEqual
show more ...
fall back to empty (root) dir for base dir detectionWhen a basedir could not be detected, the default previously was '.'resulting in a valid but weird URL (http://example.com/./doku.php). Wenow d
fall back to empty (root) dir for base dir detectionWhen a basedir could not be detected, the default previously was '.'resulting in a valid but weird URL (http://example.com/./doku.php). Wenow default to an empty dir, resulting in a more sensible URL ofhttp://example.com/doku.phpThis should not matter in real web server setups but will be in effectwhile testing.
Remove the htmlok and phpok embedding optionsBoth options have grave security implications and novice users seem toignore advice about them. In the last decades I never came across a wikithat had
Remove the htmlok and phpok embedding optionsBoth options have grave security implications and novice users seem toignore advice about them. In the last decades I never came across a wikithat had legitimate use of these options.If someone needs the functionality, it can easily be added back using aplugin. But I prefer to give users one less option to shoot themselvesin the foot.Removal of the translations for the config strings can follow after thishas been merged.
always use the same htmlspecialchars setupdefaults for htmlspecialchars change in PHP 8.1All calls should always use our hsc() method to ensure comparability(especially when testing)
Revert "Merge pull request #3039 from takuy/video-attributes"This reverts commit 408d79f78505248f9ccb44bd2561cedc250ce5a1, reversingchanges made to b7c67f83bd81eff3186e4ebd2d9e86cd2c32468d.
Revert "fixed video attribute handling in php8"This reverts commit f5cdab8ec90af0cde0c0e32209470cfa820b8ab5.
Revert "more php8 fixes for the video attributes"This reverts commit 89e046c85b43365a46ce9f137a1b843d3ef6813b.
more php8 fixes for the video attributesI defaulted back to null instead of an empty array.
fixed video attribute handling in php8
Fix PHPUnit fatal errors compatibility with void.
add needed type hints for phpunit8This will break a lot of plugin tests, but can't be avoided
PHP 8: rename match() to apply() in Lexer #3298
missed another unit test
fix test again
Remove height & weight defaults from video embeds
d'oh completely overlooked this
another fix
only pass around videoAtts if it's a videotry to make tests happy againanother try at fixing testsDelete local.php.bak.phpmore test fixesone more (lol)one more
add options & defaults to config, no* counterparts
accidentally removed this on an earlier commitmore test fixes
typo fixbug fixes & added fixes for existing tests
Fix ExternalLink tests
Fixed broken link rendering for external links at start of lineExternal links at the start of line like 'www.example.com' werenot rendered as links any more. The issue was introduced with PR #1988
Fixed broken link rendering for external links at start of lineExternal links at the start of line like 'www.example.com' werenot rendered as links any more. The issue was introduced with PR #1988.Fixes #2399.
fix data-wiki-id test failure
1234