Bug #21013 [Com]: problem with two dots without trailing slash

From: Date: Mon, 04 Jan 2016 08:06:44 +0000
Subject: Bug #21013 [Com]: problem with two dots without trailing slash
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11303@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=21013&edit=1 ID: 21013 Comment by: qdinar@gmail.com Reported By: qdinar at gmail dot com Summary: problem with two dots without trailing slash Status: Assigned Type: Bug Package: Net_URL2 Operating System: windows 10 Package Version: Unknown PHP Version: 5.5.11 Assigned To: tkli Roadmap Versions: New Comment: CVS: $Id: URL2.php 309223 2011-03-14 14:26:32Z till $ the ? signs in the report appeared instead of russian letter f Previous Comments: ------------------------------------------------------------------------ [2016-01-03 10:26:34] tkli -Assigned To: +Assigned To: tkli Thanks for reporting this issue, could you share which version of Net_URL2 you're using? ------------------------------------------------------------------------ [2016-01-03 10:14:47] qdinar Description: ------------ two dots without trailing slash is not counted, it does not work as two dots Test script: --------------- <?php require_once 'Net/URL2.php'; $base = new Net_URL2('http://???.???/???/zz/..'); echo'<br>'; echo $base->resolve('x.php'); Expected result: ---------------- http://???.???/???/x.php Actual result: -------------- http://???.???/???/zz/x.php ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=21013&edit=1

« previous php.pear.bugs (#11303) next »