-
Notifications
You must be signed in to change notification settings - Fork 1
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
Materials/index.html can not render a file of which Path has length longer than 255 characters #28
Comments
A reading about 255 characters limit https://www.myworkdrive.com/support/troubleshooting-windows-file-paths-longer-255-characters/ |
The following orignal path string has 257 characters.
I want to make it more compact. Let me try removing all '%aa' escaped sequences. I got a string:
This string has only 206 characters length. This is far less than the limit of 255. |
OK, then. I will implment this compaction rule.
|
I made a tentative solution to this problem. The real fix will require a complete redesigning as #29. |
Windows 10 (rev 1607 or newer) allows LongPathsEnabled |
30th Jun I made a cosmetical chage:
This change was meaningless. Windows' LogPathsEnabled is enough. So I should bring this change back. |
done |
In my application,
MaterialRepository#resolveScreenshotPathByURLPathCompoents(String, String,URL, int, String) produced a screenshot file of which Path has length longer than 255 characters which is the limit of Windows File System. For example I have
Browsers can not render those too-long path files appropriately. Long Paths causes annoying problems.
Materials should silently generate Path less than the limit silently in order to avoid miscellenious problems.
The text was updated successfully, but these errors were encountered: