-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue #281 - added backslashing of special characters #367
base: develop
Are you sure you want to change the base?
Conversation
i am unfamiliar with this issue. can anyone else take a look at this please? |
@ty221 You are fixing the true cause of a problem reported in #281, as I see it. Escaping of Is escaping spaces and quotes really necessary at all? It would be very, very well appreciated if you first wrote a failing test that would pinpoint the cause of the bug reported in #281 and then greened it with the fix. If you don't, please provide us with your core test cases (filenames that failed before fixing and work after fixing). |
Hi, I suggest you to check these 13 names: abcd \24 Sun Jan 04 2015 at 09:51:52 użytkownik Tero Tilus [email protected]
|
Tymon Radzik, 2015-01-04 11:03:
In all those cases, the problem is backslash. To fix those you only Have you tried odd*name.txt Those incorporate the other File::fnmatch meta characters (asterisk, Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/ |
How about my main points
|
Hmm... as you can see I moved my code down. Sun Jan 04 2015 at 10:28:01 użytkownik Tero Tilus [email protected]
|
Sorry, ill-timed reload or something. Code seems legit now. But... It is only now that I start thinking of why that It is pretty apparent that this fix now breaks that functionality. 😦 I can't really say if #281 is fixable without some major changes. Problem is the return value of
Appears this wasn't trivial after all... |
Added code, which is backslashing special characters. Tested on very various collection of names...
My mentor: @eMBee ping