I am brand new with ckfinder and uses ckfinder with classic asp. I have searched the entire forum to go through to find an answer without success.
Is there a way to prevent use of illegal characters when uploading files, create folders and rename them, either by replacing them with a hyphen or come with a warning (validation)?
I only want to use a-z, 0-9 and hyphen and no spaces.
How do I do that?
Kind Regards,
Michael O.
Denmark
Is there a way to prevent use of illegal characters when uploading files, create folders and rename them, either by replacing them with a hyphen or come with a warning (validation)?
I only want to use a-z, 0-9 and hyphen and no spaces.
How do I do that?
Kind Regards,
Michael O.
Denmark
Re: illegal characters
Open connector\asp\CommandHandler\renameFile.asp and add your processing of newFileName at line 75
File upload is handled in CommandHandler\fileUpload.asp with the variable sFileName at line 122. Move files can be adjusted at line 304 of MoveFiles.asp in the name variable
Or that's what I hope, I've scanned briefly the files, but I haven't tested it.
Re: illegal characters
Thank you very much, just what i needed
Do you know which file is used when creating a new size and save as a new file, i have to fix that one to?
Kind Regards,
Michael O.
Denmark
Re: illegal characters
Kind Regards,
Michael O.
Denmark
Re: illegal characters