Re: How to handle a LSAH in user entered filename on mobile?

2018-05-31 Thread Mark Wieder via use-livecode
On 05/31/2018 07:54 AM, Bob Sneidar via use-livecode wrote: Many years ago I had a gal who used a character that was legal on a Mac, but not on a Windows NTFS volume. She would save her files from a Mac to a Windows file share, and Windows would happily comply, but then she couldn't open her

Re: How to handle a LSAH in user entered filename on mobile?

2018-05-31 Thread Bob Sneidar via use-livecode
OIC you wanted to INCLUDE a slash in the filename, not enter a path! Ick. Yeah good choice to exclude them. Anytime you allow a user to enter a filename and/or a path you have to check for valid characters. Many years ago I had a gal who used a character that was legal on a Mac, but not on a W

Re: How to handle a LSAH in user entered filename on mobile?

2018-05-29 Thread Klaus major-k via use-livecode
Hi Bob, > Am 29.05.2018 um 19:14 schrieb Bob Sneidar via use-livecode > : > > Not sure about Mobile, but I need to know for mobile! > but I was under the impression that Livecode handled path conversion > internally if forward slashes were used. There are also path conversion > functions. I

Re: How to handle a LSAH in user entered filename on mobile?

2018-05-29 Thread Klaus major-k via use-livecode
Hi Bob, > Am 29.05.2018 um 19:09 schrieb Bob Sneidar via use-livecode > : > > And here I was feeling like a moron for not knowing what LSAH stood for! :-) for nine whole days? Poor boy! :-D Looks like other felt the same, at least I did not get any response. > Bob S > > >> On May 20, 2018,

Re: How to handle a LSAH in user entered filename on mobile?

2018-05-29 Thread Bob Sneidar via use-livecode
Not sure about Mobile, but I was under the impression that Livecode handled path conversion internally if forward slashes were used. There are also path conversion functions. I usually check the platform, then do some basic checks for formatting and pop an error if invalid. I also filter for val

Re: How to handle a LSAH in user entered filename on mobile?

2018-05-29 Thread Bob Sneidar via use-livecode
And here I was feeling like a moron for not knowing what LSAH stood for! :-) Bob S > On May 20, 2018, at 09:29 , Klaus major-k via use-livecode > wrote: > > Am 20.05.2018 um 18:25 schrieb Klaus major-k via use-livecode > : >> >> Hi friends, >> >> the subject says it all :-) > > well, obvi

Re: How to handle a LSAH in user entered filename on mobile?

2018-05-20 Thread Klaus major-k via use-livecode
Am 20.05.2018 um 18:25 schrieb Klaus major-k via use-livecode : > > Hi friends, > > the subject says it all :-) well, obviously NOT, sorry, tiny typo in the subject, I am talking about the SLASH! 8-) > User entered a filename with a SLASH -> ddd/uuu.whatever > How should this be handled on mo

How to handle a LSAH in user entered filename on mobile?

2018-05-20 Thread Klaus major-k via use-livecode
Hi friends, the subject says it all :-) User entered a filename with a SLASH -> ddd/uuu.whatever How should this be handled on mobile iOS/Android? Escape with a BACKSLASH? -> ddd\/uuu.whatever Replace with what? On the Mac this is obviously replaced with a colon -> ddd:uuu.whatever At least thi