| #
b4f2363a |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove DOKU_INC checks
There is no need for this check, since these files should not have any main code that is executed on direct call.
Fixes PSR1.Files.SideEffects.FoundWithSymbols
|
| #
3862da0e |
| 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
throw exception in nice_die during tests
Exits during testing will break the whole test suite. It makes more sense to throw an exception in that case. The exception's stack trace will help to debug
throw exception in nice_die during tests
Exits during testing will break the whole test suite. It makes more sense to throw an exception in that case. The exception's stack trace will help to debug the actual problem
show more ...
|
| #
a69722b3 |
| 27-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
always send Vary: Cookie header. fixes #1594
|
| #
26714386 |
| 27-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
moved function and fixed whitespace errors
|
| #
1d7c1f1b |
| 28-Jul-2017 |
Yurii K <yurii-github@users.noreply.github.com> |
response on review
|
| #
7b0d379f |
| 23-Jul-2017 |
Yurii K <yurii-github@users.noreply.github.com> |
cleaning
|
| #
30085ef3 |
| 23-Jul-2017 |
Yurii K <yurii-github@users.noreply.github.com> |
fix tests on windows
|
| #
75ce4e03 |
| 31-Mar-2017 |
Andreas Gohr <andi@splitbrain.org> |
remove magic quote handling
|
| #
f50a239b |
| 31-Mar-2017 |
Takamura <plehanov.v@gmail.com> |
I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc.
|
| #
924e477e |
| 01-Mar-2017 |
Andreas Gohr <gohr@cosmocode.de> |
adjust session ID check to specification
The documentation says sessionIDs are between 22 and 256 chars long. A quick test only showed 26 chars in common configurations, but this should cover all po
adjust session ID check to specification
The documentation says sessionIDs are between 22 and 256 chars long. A quick test only showed 26 chars in common configurations, but this should cover all possibilities.
show more ...
|
| #
6eb3cdf6 |
| 28-Feb-2017 |
Andreas Gohr <andi@splitbrain.org> |
do not use invalid session IDs #1883
When an invalid session ID is passed to PHP a warning is thrown, but the session is still initialized with this invalid ID (throwing additional warnings on save)
do not use invalid session IDs #1883
When an invalid session ID is passed to PHP a warning is thrown, but the session is still initialized with this invalid ID (throwing additional warnings on save).
This makes sure such invalid IDs are removed from the cookie array before initializing the session.
PHP bug references:
https://bugs.php.net/bug.php?id=68063 https://bugs.php.net/bug.php?id=73860
show more ...
|
| #
472b5ca1 |
| 03-Feb-2017 |
Andreas Gohr <andi@splitbrain.org> |
removed commented out code
|
| #
59752844 |
| 14-Jun-2016 |
Anders Sandblad <runeson@gmail.com> |
Fixed broken links to php.net and redirecting pages to php.net
|
| #
13c37900 |
| 27-Nov-2015 |
Andreas Gohr <andi@splitbrain.org> |
streamline zlib checking #1410
Instead of having various function_exists checks all over the place, this introduces the constants DOKU_HAS_GZIP and DOKU_HAS_BZIP. All non-3rdparty parts of the code
streamline zlib checking #1410
Instead of having various function_exists checks all over the place, this introduces the constants DOKU_HAS_GZIP and DOKU_HAS_BZIP. All non-3rdparty parts of the code using gz* functions should now check if zlib is actually available.
show more ...
|
| #
605f8e8d |
| 15-May-2015 |
Andreas Gohr <andi@splitbrain.org> |
added composer setup and the first composer package php-archive
|
| #
0a4266d4 |
| 10-Feb-2015 |
Elan Ruusamäe <glen@delfi.ee> |
consistency: failure exit with status code 1
|
| #
79e79377 |
| 07-Jan-2015 |
Andreas Gohr <gohr@cosmocode.de> |
Remove error supression for file_exists()
In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PH
Remove error supression for file_exists()
In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
show more ...
|
| #
8da2ebf4 |
| 22-Dec-2014 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Merge remote-tracking branch 'splitbrain/master'
|
| #
0f8f7aaa |
| 31-Oct-2014 |
Danny Lin <danny0838@gmail.com> |
Move check after libraries are loaded, so that $conf['compression'] is not turned off in the case that gzopen doesn't exist while gzopen64 does exist, as inc/compatibility.php ought to have fixed.
|
| #
b79379f2 |
| 28-Sep-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Merge remote-tracking branch 'origin/master' into overridablelangstrings
Conflicts: inc/plugin.php
|
| #
dd7a6159 |
| 28-Sep-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
use config cascade for loading of localizations
|
| #
0bd5b90b |
| 16-Jul-2014 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Merge remote-tracking branch 'splitbrain/master'
|
| #
19738e65 |
| 12-Jul-2014 |
Enrico Tagliavini <enrico.tagliavini@gmail.com> |
adding X-Forwarded-Proto support in is_ssl()
This commit adds support for X-Forwarded-Proto in case dokuwiki runs behind a reverse (SSL) proxy, but the connection between the proxy and the web serve
adding X-Forwarded-Proto support in is_ssl()
This commit adds support for X-Forwarded-Proto in case dokuwiki runs behind a reverse (SSL) proxy, but the connection between the proxy and the web server running dokuwki is plain HTTP. If an authenticated user is accidentaly dropped to HTTP from HTTPS the securecookie setting should be honored and the redirection when saving or canceling a page edit should point to the correct protocol. This happens every time a user hits cancel after editing a page, and likely even after saving. If the webserver doesn't enforce HTTPS the coockie might be sent in clear.
show more ...
|
| #
1858e4d7 |
| 30-Jun-2014 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Check for basedir and baseurl
If these configuration values are not set php will throw an unnecessary NOTICE.
|
| #
38fb1fc7 |
| 13-May-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
extend lang file cascade, so users can override some lang strings
Fixes #692
|