| 95f42e65 | 02-Apr-2016 |
Adrian Vesa <adrianvesa@dotwikis.com> |
translation update |
| 98ca30d2 | 31-Mar-2016 |
Andreas Gohr <andi@splitbrain.org> |
avoid HTTP Response Splitting attacks via redirects #1513
The header() method of PHP is vulnerable to HTTP Response Splitting attacks.
This change makes sure the URL passed to send_redirect (and th
avoid HTTP Response Splitting attacks via redirects #1513
The header() method of PHP is vulnerable to HTTP Response Splitting attacks.
This change makes sure the URL passed to send_redirect (and thus to header()) does not contain any control characters that would be needed to execute such an attack.
Cleaning input is recommended anyway.
show more ...
|
| c58f49ca | 24-Mar-2016 |
Viliam Dias <viliamjr@gmail.com> |
translation update |
| c83f69ba | 21-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove unnecessary fullpath() |
| cc6e07d8 | 20-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
strlen does already calculate the right length |
| 317a04c4 | 19-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove fullpath() call
fullpath processing here seems unnecessary, wikiFN($ID) returns a valid filepath for the page text file. |
| f6a5c864 | 19-Mar-2016 |
Myeongjin <aranet100@gmail.com> |
translation update |
| 42a2fb23 | 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Not needed due to use of more general functions |
| 3c48b1d0 | 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
wrong entry of revinfo used in detectExternalEdit |
| 8c7319be | 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
rename variables in detectExternalEdit |
| 4b5aebc1 | 18-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
filesize zero cases, compressed revisions
- handle all cases where not an old file exist, or when that old file is zero size. - When using old revision normally these files are compressed, use uncom
filesize zero cases, compressed revisions
- handle all cases where not an old file exist, or when that old file is zero size. - When using old revision normally these files are compressed, use uncompressed size.
show more ...
|
| f549be3d | 18-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
io_getSizeFile returns uncompressed size of given file
A bz2-file doesn't contain information about the size of its uncompressed content. Therefore it requires reading the whole file to obtain the f
io_getSizeFile returns uncompressed size of given file
A bz2-file doesn't contain information about the size of its uncompressed content. Therefore it requires reading the whole file to obtain the filesize.
show more ...
|
| 655ddc1d | 15-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
little reformat of saveWikiText |
| c276e9e8 | 15-Mar-2016 |
Marcel Pennewiss <github@pennewiss.de> |
Invalidate user session cache after profile data was changed |
| 924cc11c | 11-Mar-2016 |
Andreas Gohr <andi@splitbrain.org> |
add support for new Django hashing methods
New Python Django application default to PBKDF2 with SHA256 as a password mechanism. This adds support for that mechanism in our password hasher class. Thi
add support for new Django hashing methods
New Python Django application default to PBKDF2 with SHA256 as a password mechanism. This adds support for that mechanism in our password hasher class. This will be needed in the tests for the new PDO auth plugin.
show more ...
|
| dab290ef | 11-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
usie a strict comparison === instead |
| 82f5f399 | 11-Mar-2016 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
use getNS() call instead of dirname() |
| 63cf4192 | 04-Mar-2016 |
sarehag <joakim.sarehag@gmail.com> |
#1477:Search heading still displayed although search disabled |
| 67234204 | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
removed isset() from blank() function
As discussed in #1471, an uninitialized variable will always be implicitly created when passed to the blank() function. Calling isset() is thus a no-op. A warni
removed isset() from blank() function
As discussed in #1471, an uninitialized variable will always be implicitly created when passed to the blank() function. Calling isset() is thus a no-op. A warning about this behavior has been added to the function comment.
show more ...
|
| b24d9195 | 18-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
This makes the saveWikiText() function a little easier to read and moves external edit handling to its own function. Behavior stays the same (
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
This makes the saveWikiText() function a little easier to read and moves external edit handling to its own function. Behavior stays the same (tests are unchanged).
In addition a new event COMMON_WIKIPAGE_SAVE is introduced that makes intercepting and acting on page saves much easier than possible before.
Developers can:
* prevent saves by either preventing the default action or overwriting the contentChanged field in a BEFORE hook * enforce saves even when no content changed by overwriting the contentChanged field in a BEFORE hook * Adjust the saved content by modifying the newContent field in a BEFORE hook * Adjust the stored change log information (summary, type, extras) in an AFTER hook * Easily know if a page was deleted, created or edited by inspecting the changeType field * what ever they want before or after a wiki page is saved
show more ...
|
| 014eefaa | 14-Feb-2016 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |
| e70ecfc9 | 11-Feb-2016 |
Romano <romanocl@outlook.com> |
translation update |
| a38bc7e6 | 03-Feb-2016 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |
| e0b6aade | 29-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
do not accept empty or root $base in search. fixes #1452
You really never want to search the whole filesystem, so something must have gone wrong. Better abort than go on. |
| 9c65e2a9 | 22-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
fixed wrongly closed section edit button
The opening tag of the button was self closing, creating invalid HTML.
See https://forum.dokuwiki.org/thread/13346 for initial report |