| #
2e98afbd |
| 09-Oct-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Correctly interpret result of strpos(…)
if `%s` happens to be at the start of the string then `strpos(…, '%s')` returns `0`. That evaluates to false in an `if` statement. Thus the replacement will n
Correctly interpret result of strpos(…)
if `%s` happens to be at the start of the string then `strpos(…, '%s')` returns `0`. That evaluates to false in an `if` statement. Thus the replacement will not be applied in that case.
See https://github.com/splitbrain/dokuwiki/pull/3790 for a probable similar issue.
show more ...
|