Bug #60636 [Opn->Fbk]: Dots in folders results in a open_basedir restriction warning

From: Date: Thu, 20 May 2021 12:09:51 +0000
Subject: Bug #60636 [Opn->Fbk]: Dots in folders results in a open_basedir restriction warning
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233916@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60636&edit=1

 ID:                 60636
 Updated by:         cmb@php.net
 Reported by:        fernando at consultorpc dot com
 Summary:            Dots in folders results in a open_basedir
                     restriction warning
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Safe Mode/open_basedir
 Operating System:   Linux
 PHP Version:        5.3.8
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Can anyone still reproduce this with any of the actively supported
PHP versions[1]?  Note that the open_basedir *must* exist before
running the script.

[1] <https://www.php.net/supported-versions.php>


Previous Comments:
------------------------------------------------------------------------
[2013-05-29 12:03:26] 19982090 at atn dot ac dot at

i habe experienced the same error.
my basedir is like /home/.sites/123/site346/web and the warning comes up if i try 
to call is_file(..../web/data/foldername)

------------------------------------------------------------------------
[2012-12-30 09:28:21] support at hostinghood dot com

open_basedir works correctly, tested myself.

------------------------------------------------------------------------
[2012-01-04 04:34:21] laruence@php.net

hmm, I can't no reproduce this if you are sure that "/home/example" exists.

------------------------------------------------------------------------
[2012-01-03 17:13:40] fernando at consultorpc dot com

Yes, /home/example exists. If i rename myfolder.example to myfolderexample ( no 
dots ), them it works as expected. Meaning that it will return false without any 
warnings.

------------------------------------------------------------------------
[2012-01-03 17:06:24] laruence@php.net

does that /home/example exists? I think this might has nothing to do with the 
*dot*, but a mis-understand warning.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60636


--
Edit this bug report at https://bugs.php.net/bug.php?id=60636&edit=1


Thread (9 messages)

« previous php.bugs (#233916) next »