K-Tec

Let me be the 1st one....(if imay)

More
21 years 3 months ago #629 by albertw
Replied by albertw on topic Re: Let me be the 1st one....(if imay)
Hi,

I am amazed that your opeating system lits you include such characters in the file names in the first place because most don't (as far as I know).


You can call a file anything you like in most OS's (that I've met):
-rw-r--r-- 1 albertw albertw 40833 Sep 7 17:31 #!~?><

I'll have to have a good think about how to fix this so in the mean time please only upload files with sensible file names!


Well you only have two choices really
1. make sure that filenames with characters you dont like cant get uploaded, ie parse them on input.
2. ensure that all parts of the application handle the name as a string and doesnt use it as an expression to match a string or some such.

Cheers,
~Al

Albert White MSc FRAS
Chairperson, International Dark Sky Association - Irish Section
www.darksky.ie/

Please Log in or Create an account to join the conversation.

More
21 years 3 months ago #630 by voyager
Replied by voyager on topic Re: Let me be the 1st one....(if imay)
I think the easiest thing to do is to parse the filename on the client side and not allow the upload form to submit if it has a "funny" file name.

I'll try to get that done this evening a long with a delete script.

Bart.

My Home Page - www.bartbusschots.ie

Please Log in or Create an account to join the conversation.

  • Keith g
  • Topic Author
  • Offline
  • Super Giant
  • Super Giant
More
21 years 3 months ago #631 by Keith g
Replied by Keith g on topic Re:
Bart, can you delete the pics that do not work?, it's no use having them there, i'll simply rename my shots and upload again, i think that just 3 of mine do not work, Keith....

Please Log in or Create an account to join the conversation.

More
21 years 3 months ago #632 by voyager
Replied by voyager on topic Re:

Bart, can you delete the pics that do not work?, it's no use having them there, i'll simply rename my shots and upload again, i think that just 3 of mine do not work, Keith....


The only one I could bnot fix I deleted (it has a size of 0 bytes!) the rest I have fixed so there is no need to re-upload them. I have also changed the upload page to ensure that files with funny characters in them cannot get uploaded.

Bart.

My Home Page - www.bartbusschots.ie

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum