Files
ICEcoder/lib
Matt Pass 670e3c47a6 Don't match ICEcoder path to doc root use basename
The 2 x if conditions added a security measure to avoid path traversals,
should languageBase or languageUser ever be set to something malicious
such as (eg ../../../../../../../etc/passwd)

However, it meant that the ICEcoder dir and the doc root dir paths had
to both start the same, and so be in the same location really. It was
previously a benefit to have them possibly contain different paths, but
this security point restricts this.

We can remove these 2 if conditions however and simply wrap the 2 array
values with basename(), so we take only the trailing file name and so
avoid path traversal issues.
2014-11-27 20:48:28 +00:00
..
2014-11-21 10:56:14 +00:00
2014-11-21 10:56:14 +00:00
2014-10-11 12:40:18 +01:00
2014-04-10 10:04:28 +01:00
2014-09-18 09:15:46 +01:00
2014-10-31 14:37:04 +00:00
2014-11-27 18:08:18 +00:00
2013-04-30 17:48:54 +01:00
2013-07-07 15:27:09 +01:00
2013-04-20 16:12:32 +01:00
2014-10-28 09:14:29 +00:00
2013-12-29 14:41:18 +00:00
2012-10-09 07:57:28 +01:00
2014-11-10 07:16:42 +00:00
2014-11-18 15:32:22 +00:00
2014-11-27 18:09:01 +00:00