-
Notifications
You must be signed in to change notification settings - Fork 121
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
It's not possible to upload files/folders with a ":" (colon) #216
Comments
i would guess that all "special characters" are not handled correctly like "<",">","|","?" and ":" I would propose to just replace them with an underline (_) whenever a filename/foldername includes one of these characters |
Thanks, I have to handle exceptions in UI better. |
what's your phone make/model?
|
standard itself does not disallow anything except '/' in object name :) |
could you please check revision 96af0e1 if it's working for you |
I compiled 0da7f4e it's a Huawei device.
Now it crashes here:
|
The problem seems to be related to the SD card which is FAT32 (which doesn't allow "<",">","|","?" and ":" for filenames, at least in windows), copying the file to the internal memory works. |
hmm, can you show me backtrace of the crash please? then type in |
Thread 1 "android-file-tr" received signal SIGABRT, Aborted. |
thanks a lot! this is the most helpful. |
please check 9811703 |
Now i get a sluggish interface that shows no files anymore after i dropped the file on a fat32 partition. Trying to switch to the internal storage afterwards leads to another crash
|
could you please pull again?
For some reason, one of the folders in my old phone is responding with timeout when big files are uploaded, I used this phone to test this timeout problem. :) |
i compiled f647437 but it still crashes, now after dropping the file (the dialog box "Upload Progress" doesn't close before the crash)
|
and it's getting segmentation fault signal? |
I've added additional resets in 07ea914 |
crashes again
|
that's really weird, as if your code is built with -fno-exception, or similar option. Can you run verbose build with |
compiled with "ninja -v"
compiled with make VERBOSE=1
|
@RedirectCleaner and build log? |
crash on start when device fails to response should be fixed in 8212742 |
please test it and close this issue if it worked for you :) |
when i try to copy the file "foo:test.png" to my fat32 sdcard, i still get (with : 803f53f)
|
Uploading a file/folder with a ":" (colon) like "test:large.jpg" breaks the upload and the upload dialog closes after some timeout, but the file doesn't get uploaded.
This is the debug output it get for a filename which includes a colon:
Uploading a dirname with a colon:
The folder "a:b" is now shown in the dialog but trying to delete it leads to a crash
Uploading the same file with the colon removed "testlarge.jpg" works without a problem
The text was updated successfully, but these errors were encountered: