Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2138 closed Bug (invalid)

Folder creation with PHP will fail with set UserFilesAbsolutePath on Windows ...

Reported by: Daniel Plücken Owned by:
Priority: Normal Milestone:
Component: Server : PHP Version: FCKeditor 2.5
Keywords: Cc:


... because RegExp doesn't match for drive letters with a following colon. I attached a patch.


Attachments (1)

PHP_Win_folder_creation.patch (548 bytes) - added by Daniel Plücken 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by Daniel Plücken

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: HasPatch added

comment:2 Changed 16 years ago by Wiktor Walc

Keywords: HasPatch removed
Resolution: invalid
Status: newclosed

I can't find this code in FCKeditor 2.6:

if ( !preg_match( "!^(/?[-0-9_a-z.]+)+/?$!i", $folderPath ) ) 

actually i can't find it even in 2.5, isn't it something that you have added by yourself?

comment:3 Changed 16 years ago by Daniel Plücken

Oh sorry, indeed. This is code added by myself *blush of shame* it's my fault posted it. I'm very sorry to waste your time.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy