Bug #77932 [Ver->Csd]: File extensions are case-sensitive
| From: | cmb@php.net | Date: | Mon, 27 Jul 2020 09:58:23 +0000 |
| Subject: | Bug #77932 [Ver->Csd]: File extensions are case-sensitive | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228236@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77932&edit=1
ID: 77932
Updated by: cmb@php.net
Reported by: nurudin dot imsirovic at gmail dot com
Summary: File extensions are case-sensitive
-Status: Verified
+Status: Closed
Type: Bug
Package: Built-in web server
Operating System: Windows, Linux
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6f18d7e2f967a376b187d5447232c812bd128b72
Log: Fix #77932: File extensions are case-sensitive
Previous Comments:
------------------------------------------------------------------------
[2020-07-27 08:59:43] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #77932: File extensions are case-sensitive
On GitHub: https://github.com/php/php-src/pull/5898
Patch: https://github.com/php/php-src/pull/5898.patch
------------------------------------------------------------------------
[2020-07-27 08:59:19] cmb@php.net
> Yes but the only file contained inside the folder is admin.php,
> no admin.PHP just admin.php but the built-in server doesn't
> execute .PHP as a script but rather proceeds to output the source
> code.
That only happens with case-insensitive file systems, though.
------------------------------------------------------------------------
[2019-04-23 22:58:07] nurudin dot imsirovic at gmail dot com
Yes but the only file contained inside the folder is admin.php, no admin.PHP just admin.php but the
built-in server doesn't execute .PHP as a script but rather proceeds to output the source code.
------------------------------------------------------------------------
[2019-04-23 21:07:33] requinix@php.net
https://www.php.net/manual/en/features.commandline.webserver.php
The very first thing on the page:
> Warning
> This web server was designed to aid application development. It may also be useful for testing
> purposes or for
> application demonstrations that are run in controlled environments. It is not intended to be a
> full-featured web
> server. It should not be used on a public network.
With that said, I see no reason why the server couldn't recognize "php"
case-insensitively, and if it does then it should recognize the other extensions insensitively too.
------------------------------------------------------------------------
[2019-04-23 17:03:50] spam2 at rhsoft dot net
> If he is port forwarding the PHP Built-in server to the public world
than he is a fool because the builtin websevrer is for development only and MUST NOT be exposed to
the internet
------------------------------------------------------------------------
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=77932
--
Edit this bug report at https://bugs.php.net/bug.php?id=77932&edit=1