Commit Graph

60 Commits

Author SHA1 Message Date
Isaac Bennetch
c812bcd411 Prepare for 4.6.6 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-01-23 14:19:14 -05:00
Michal Čihař
7d361806c3 Share code for rendering custom header and footer
Fixes #12802

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 15:20:12 +01:00
Michal Čihař
10caf5bcae Check if variables are set prior to use
Issue #12713

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-28 11:30:14 +01:00
Isaac Bennetch
c1acb3a212 Prepare for 4.6.6-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-11-26 08:01:00 -05:00
Isaac Bennetch
9970d9d32e Release 4.6.5.1
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-11-25 22:36:14 -05:00
Isaac Bennetch
b1136b88b1 Prepare for 4.6.6-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-11-25 01:16:37 -05:00
Isaac Bennetch
5daee71272 4.6.5 release and ChangeLog
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-11-24 11:02:33 -05:00
Michal Čihař
ddf580c51b Fix OmniWeb version match (issue #12615)
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-04 12:02:02 +02:00
Michal Čihař
cd4c8374b1 Fixed regexp for matching browser versions
Fixes #12615

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-04 11:51:29 +02:00
Michal Čihař
26cc80324e Validate git commit hash before using
Just to ensure we've parsed correct data.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-25 14:56:41 +02:00
Michal Čihař
7898060916 Ensure PmaAbsoluteUri ends with /
This was probably most frequest user error we want to fix.

Issue #12374

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 15:37:20 +02:00
Michal Čihař
a458b70412 Use PmaAbsoluteUri for isHttps
Issue #12374

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 15:35:15 +02:00
Michal Čihař
01b9db6b1c Rename getCookiePath() to getRootPath()
It is not used only for cookies, so generic name makes more sense.

Issue #12374

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 15:35:15 +02:00
Michal Čihař
83476322ba Use PmaAbsolueUri for cookie path
Issue #12374

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 15:35:15 +02:00
Isaac Bennetch
b3d8ebad3f Prepare for 4.6.5
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-08-16 21:35:34 -04:00
Isaac Bennetch
b9a6a9993e Release 4.6.4
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-08-16 16:38:46 -04:00
Michal Čihař
53af6a5699 Simplify session handling on possibly long requests
We really do not have to reconfigure sessions on restarting them.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 16:04:56 +02:00
Isaac Bennetch
58534ce2fc Prepare for 4.6.4-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-06-23 02:40:42 -04:00
Isaac Bennetch
f2db92434b Fix merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-06-23 00:28:35 -04:00
Isaac Bennetch
4f57305eab Release 4.6.3
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-06-23 00:27:15 -04:00
Michal Čihař
1363ce5749 Merge branch 'QA_4_6' into QA_4_6-security 2016-06-17 14:27:02 +02:00
Michal Čihař
07216c9b8e Ensure that connection collation contains no HTML
There is currently no MySQL collation which would do that, but just to
be safe.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 13:58:26 +02:00
Michal Čihař
27caf5b46b Improve detection of script name
In case PHP_SELF was not set by server, we used REQUEST_URI, which might
embed PATH_INFO as well. However we really need to know the path without
it, so let's strip it as well.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-16 09:35:56 +02:00
Michal Čihař
d78e173b34 Do not use dirname for calculating cookie path
It is wrong for this purpose as on Windows this uses \ for both
separating parts and generating result. This fixed calculation of cookie
path on Windows.

Fixes #12249

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-27 11:11:56 +02:00
Isaac Bennetch
5c6ec27eea Prepare for 4.6.3-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-05-25 14:36:58 -04:00
Isaac Bennetch
c1c75f8c35 4.6.2 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-05-25 12:16:14 -04:00
Michal Čihař
8396ee4a3a Fix cookie path on IIS
The path can contain backslashes on Windows, so let's replace them
before using it as cookie path which needs just forward slashes.

Fixes #12249

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-12 14:00:42 +02:00
Isaac Bennetch
cda4290749 Prepare for 4.6.2-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-05-02 21:53:57 -04:00
Isaac Bennetch
07fd0bce67 4.6.1 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-05-02 17:13:27 -04:00
Michal Čihař
999db1491c Fixed setting of language from user configuration
Fixes #12202

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-20 09:13:17 +02:00
Isaac Bennetch
c9dd2e8a78 Prepare for 4.6.1-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-03-17 07:41:26 -04:00
Isaac Bennetch
37b38431d1 4.6.0 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-03-17 05:47:44 -04:00
Isaac Bennetch
0fc00c0ab8 4.6.0-rc2 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-03-01 09:32:07 -05:00
Isaac Bennetch
73fd0dc2a8 4.6.0-rc1 pre-release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-02-29 08:56:32 -05:00
Michal Čihař
a29f154f37 Merge branch 'MAINT_4_5_5-security' into QA_4_6-security 2016-02-29 10:35:47 +01:00
Michal Čihař
0c34cb60a0 Merge branch 'QA_4_5' into QA_4_6 2016-02-12 13:47:04 +01:00
Michal Čihař
5042b65398 Merge branch 'QA_4_5' into QA_4_6 2016-02-12 10:45:43 +01:00
Isaac Bennetch
d96dc09e99 Correction for 4.6.0-alpha1 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-02-10 11:13:13 -05:00
Isaac Bennetch
74ae9ab6d1 4.6.0-alpha release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-02-10 10:51:15 -05:00
Michal Čihař
3ebacb0025 Simplify loading of vendor configuration
Do it just once and very early, so that all scripts can rely on it being
available.

Fixes autoloading of phpseclib.

Fixes #11914

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-09 11:00:54 +01:00
Michal Čihař
de7181653f Correctly handle paths to exact files when setting cookie
We need to set path to folder not a given file.

Fixes #11916

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-08 09:54:57 +01:00
Michal Čihař
ae1ccf3e6a Remove PmaAbsoluteUri configuration directive
Fixes #11412

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:41:29 +01:00
Michal Čihař
43ca165e9f Remove unused method checkCookiePath
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:34:32 +01:00
Michal Čihař
a569eeca93 Do not use PmaAbsoluteUri for getCookiePath
Issue #11412

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:32:32 +01:00
Michal Čihař
060aaf9c99 Remove detectHttps method
The isHttps method does the same and simpler.

Issue #11412

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:25:58 +01:00
Michal Čihař
a913f99817 Add detection based on REQUEST_URI as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:25:13 +01:00
Michal Čihař
751c958e57 Postpone https check to time when it's needed
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:19:59 +01:00
Michal Čihař
41c25ca10b Fix number comparing
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:15:21 +01:00
Michal Čihař
218ece6dc0 Make isHttps independent of PmaAbsoluteUri
Issue #11412

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 17:07:04 +01:00
Michal Čihař
1e9e14d23b Remove ForceSSL configuration directive
In most setups we simply do not have enough information to decide
whether user has come through HTTPS or not leading to infinite
redirects.

Anyway this is better to handle at web server side together with setting
HSTS headers.

Issue #11412, #11883

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 14:20:11 +01:00