phpOpenTracker/phpOpenTracker Container.php,1.33.2.1,1.33.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-serv23777/phpOpenTracker

Modified Files:
      Tag: phpOpenTracker_1
	Container.php 
Log Message:
MFB: 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.33.2.1
retrieving revision 1.33.2.2
diff -C2 -d -r1.33.2.1 -r1.33.2.2
*** Container.php	22 Dec 2003 03:36:28 -0000	1.33.2.1
--- Container.php	10 Jan 2004 07:08:38 -0000	1.33.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.