History log of /dokuwiki/inc/ (Results 1876 – 1900 of 6436)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
95f42e6502-Apr-2016 Adrian Vesa <adrianvesa@dotwikis.com>

translation update

98ca30d231-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 ...

c58f49ca24-Mar-2016 Viliam Dias <viliamjr@gmail.com>

translation update

c83f69ba21-Mar-2016 Satoshi Sahara <sahara.satoshi@gmail.com>

remove unnecessary fullpath()

cc6e07d820-Mar-2016 Gerrit Uitslag <klapinklapin@gmail.com>

strlen does already calculate the right length

317a04c419-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.

f6a5c86419-Mar-2016 Myeongjin <aranet100@gmail.com>

translation update

42a2fb2319-Mar-2016 Gerrit Uitslag <klapinklapin@gmail.com>

Not needed due to use of more general functions

3c48b1d019-Mar-2016 Gerrit Uitslag <klapinklapin@gmail.com>

wrong entry of revinfo used in detectExternalEdit

8c7319be19-Mar-2016 Gerrit Uitslag <klapinklapin@gmail.com>

rename variables in detectExternalEdit

4b5aebc118-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 ...

f549be3d18-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 ...

655ddc1d15-Mar-2016 Gerrit Uitslag <klapinklapin@gmail.com>

little reformat of saveWikiText

c276e9e815-Mar-2016 Marcel Pennewiss <github@pennewiss.de>

Invalidate user session cache after profile data was changed

924cc11c11-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 ...

dab290ef11-Mar-2016 Satoshi Sahara <sahara.satoshi@gmail.com>

usie a strict comparison === instead

82f5f39911-Mar-2016 Satoshi Sahara <sahara.satoshi@gmail.com>

use getNS() call instead of dirname()

63cf419204-Mar-2016 sarehag <joakim.sarehag@gmail.com>

#1477:Search heading still displayed although search disabled

6723420419-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 ...

b24d919518-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 ...

014eefaa14-Feb-2016 Masoud Sadrnezhaad <masoud@sadrnezhaad.ir>

translation update

e70ecfc911-Feb-2016 Romano <romanocl@outlook.com>

translation update

a38bc7e603-Feb-2016 Masoud Sadrnezhaad <masoud@sadrnezhaad.ir>

translation update

e0b6aade29-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.

9c65e2a922-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

1...<<71727374757677787980>>...258