| cc7691ad | 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
enforce content type on XML-RPC. addresses #3991
This ensures only text/xml or application/xml content types are accepted when communicating with the XML-RPC API |
| c49393f5 | 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
increase required PHP version to 7.4 |
| bf8392eb | 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
use samesite=Lax cookie attribute #2849
Since this has been the default in Chrome for a while, no sideeffects are to be expected. |
| fd853d4a | 01-Jun-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Corrected logic error |
| ec2224d9 | 01-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
language updates for #3010 addition to #3981 |
| a4231b8c | 01-Jun-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Avoid warning in do=check for anonymous users
fixes #3984 |
| eea5d349 | 31-May-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Better fix
This is more concise and it also fixes a similar case in a different line.
`empty($userinfo['mail'])`correctly deals with:
- `$userinfo === false` => `true`
- `!array_key_exists('mail'
Better fix
This is more concise and it also fixes a similar case in a different line.
`empty($userinfo['mail'])`correctly deals with:
- `$userinfo === false` => `true`
- `!array_key_exists('mail', $userinfo)` => `true`
- `!isset($userinfo['mail'])` => `true`
- `$userinfo['mail'] === ''` => `true`
show more ...
|
| e6af5171 | 31-May-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Fix #3982 |
| 01a865f6 | 29-May-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Removed link, because it is wrongly cached. Fixes #3013 |
| 755a9150 | 24-May-2023 |
Eduardo Mozart de Oliveira <eduardomozart182@gmail.com> |
translation update |
| fa8dd74c | 20-May-2023 |
Mykhailo <mvkorobkov@gmail.com> |
translation update |
| 4ebc7ff4 | 15-May-2023 |
Daniel Dias Rodrigues <danieldiasr@gmail.com> |
translation update |
| 53df38b0 | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix XSS in RSS syntax
The title was not correctly escaped when written to the doc in xhtml renderer.
SimplePie does no content escaping on its own (a comment in the code seems to suggest that that
fix XSS in RSS syntax
The title was not correctly escaped when written to the doc in xhtml renderer.
SimplePie does no content escaping on its own (a comment in the code seems to suggest that that was assumed). Instead the content is passed on as-is from the feed.
This patch also applies some more escaping on the description output (though it should have been relatively safe thanks to the use of striptags).
This was discovered by @ry0tak and reported in https://huntr.dev/bounties/c6119106-1a5c-464c-94dd-ee7c5d0bece0/
show more ...
|
| 728c1abe | 27-Apr-2023 |
Petr Kajzar <petr.kajzar@centrum.cz> |
translation update |
| d2e112c0 | 27-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix line length issue |
| f657e5d0 | 27-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
Add JSON based alternative to XMLRPC
XMLRPC is a rather outdated and old-fashioned protocol not much in use anymore. Developers prefer simpler, JSON based APIs.
This adds a new "JSONRPC" API. Basic
Add JSON based alternative to XMLRPC
XMLRPC is a rather outdated and old-fashioned protocol not much in use anymore. Developers prefer simpler, JSON based APIs.
This adds a new "JSONRPC" API. Basically it exposes exactly the same method calls as the XMLRPC API but using JSON instead of XML. It's not a classical REST API, but should be just as easy to use for developers.
Here is an example call using CURL:
curl http://localhost/dokuwiki/lib/exe/jsonrpc.phs \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $token" \ -d '["wiki"]'
Please note that the above uses the token auth implemented in #2432. Authentication via basic auth or cookies would work as well.
show more ...
|
| 605810ee | 26-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
use local squid docker instance for proxy testing |
| ebba5e5d | 06-Apr-2023 |
Damien Regad <dregad@mantisbt.org> |
Add undeclared Class Properties
Fixes Creation of dynamic property _HWLDF_WordAccumulator::$_lines / $_line / $_group / $_tag is deprecated in ./inc/DifferenceEngine.php on line 936
And proactively
Add undeclared Class Properties
Fixes Creation of dynamic property _HWLDF_WordAccumulator::$_lines / $_line / $_group / $_tag is deprecated in ./inc/DifferenceEngine.php on line 936
And proactively caught another bunch in _Diff3_Op class (not reported in unit tests)
show more ...
|
| 3d52dbfa | 06-Apr-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix grammar error in PHPDoc |
| baafd22e | 06-Apr-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix PHP Deprecated warning
Adding null-coalescing operator to avoid
str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated |
| e8b8bf8c | 05-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
HTTPClient: Replace time() method with direct microtime(true) call |
| 8a10b6f0 | 05-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
Minor fixes in comments |
| 88743d14 | 05-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
HttpClient::time use microtime(true) directly |
| 5f55167d | 04-Apr-2023 |
Marek Adamski <fevbew@wp.pl> |
translation update |
| 38afa930 | 29-Mar-2023 |
Gilson Caldeira <gilsoncaldeira@gmail.com> |
translation update |