| Anonymous | Login | Signup for a new account | 06-10-2026 07:19 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0004068 | [Quercus] | minor | always | 06-03-10 08:25 | 06-21-12 01:30 | ||||
| Reporter | hm2k | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | Product Version | ||||||
| Product Build | |||||||||
| Summary | 0004068: pathinfo('test.html.php',PATHINFO_EXTENSION); returns html.php instead of php | ||||||||
| Description |
<?php pathinfo('test.html.php',PATHINFO_EXTENSION); //expected php, got html.php ?> |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0004630) sblommers 06-04-10 01:48 |
I just tested this and I can confirm this is not working. Here is a patch to fix this issue agains latest SVN (7180) url: https://streamconsulting.nl/drop/FileModule_path_4068.diff [^] or in text diff -r 9e1bb2e39c7a modules/quercus/src/com/caucho/quercus/lib/file/FileModule.java --- a/modules/quercus/src/com/caucho/quercus/lib/file/FileModule.java Fri Jun 04 10:36:04 2010 +0200 +++ b/modules/quercus/src/com/caucho/quercus/lib/file/FileModule.java Fri Jun 04 10:46:21 2010 +0200 @@ -2552,7 +2552,7 @@ dirname = "."; } - p = path.indexOf('.'); + p = path.lastIndexOf('.'); |
|
(0004631) hm2k 06-04-10 02:01 |
Good work :) |
|
(0005545) lewellyn 10-06-11 12:36 |
I just wanted to vote +1 on the 6-keystroke fix going into Quercus sooner than later. This causes interesting interoperability issues. |
|
(0005920) nam 06-21-12 01:30 |
php/164y Fixed for 4.0.29. |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
39 total queries executed. 31 unique queries executed. |