Changeset aa055c9 in github for program/include/rcube_shared.inc


Ignore:
Timestamp:
Jan 22, 2009 9:47:23 AM (4 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
bc39ad2
Parents:
4f27148
Message:

Get rid of vulnerable preg_replace eval and create_function (#1485686) + correctly handle base and link tags in html messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_shared.inc

    r8f79fba raa055c9  
    310310 
    311311  // cut base_url to the last directory 
    312   if (strpos($base_url, '/')>7) 
     312  if (strrpos($base_url, '/')>7) 
    313313  { 
    314314    $host_url = substr($base_url, 0, strpos($base_url, '/')); 
Note: See TracChangeset for help on using the changeset viewer.