phpOpenTracker/phpOpenTracker Container.php,1.32.2.1,1.32.2.2
Sebastian Bergmann <[email protected]>
| Newsgroups | gmane.comp.web.phpopentracker.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker
In directory sc8-pr-cvs1:/tmp/cvs-serv23701/phpOpenTracker
Modified Files:
Tag: phpOpenTracker_1_3
Container.php
Log Message:
In addition to 'http://' the 'https://' protocol identifier is now stripped, too, from refering URLs.
Index: Container.php
===================================================================
RCS file: /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/Container.php,v
retrieving revision 1.32.2.1
retrieving revision 1.32.2.2
diff -C2 -d -r1.32.2.1 -r1.32.2.2
*** Container.php 22 Dec 2003 03:36:57 -0000 1.32.2.1
--- Container.php 10 Jan 2004 07:08:08 -0000 1.32.2.2
***************
*** 165,169 ****
if (!empty($container['referer'])) {
! $container['referer'] = str_replace('http://', '', $container['referer']);
}
--- 165,176 ----
if (!empty($container['referer'])) {
! $container['referer'] = str_replace(
! array(
! 'http://',
! 'https://'
! ),
! '',
! $container['referer']
! );
}
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html