Repository navigation
Handling long paths properly in \OC\Files\View - #8547
Conversation
|
Looks good 👍 |
There was a problem hiding this comment.
some left over from rebase.
beside that it looks good 👍
There was a problem hiding this comment.
WTF! Thanks @schiesbn
|
🚀 Test Passed. 🚀 |
|
Error got thrown but there is no user feedback, why nothing happens. The request has just 500 as error code. |
|
@MorrisJobke this did happen on which operation? THX |
|
@DeepDiver1975 "New" > "Folder" > Enter name with more than 4000 characters |
|
💣 Test Failed. 💣 |
|
@MorrisJobke okay - this is a whole different topic - any exception being thrown as of today will be caught in index.php which will return http status code 500 and the html error page, which is no expected by the client code. I'll try to come up with a solution in an separate PR |
# The first commit's message is: adding tests for long paths increment path field in database up to 4000 (maximum for Oracle - otherwise we could use php's 4096) increment version to trigger database migration adding unit test for too long path # This is the 2nd commit message: fix too long path
|
A new inspection was created. |
|
👍 Should be good enough for now. And 640k is enough for every application. |
|
🚀 Test Passed. 🚀 |
Handling long paths properly in \OC\Files\View
|
@DeepDiver1975 Is #8547 (comment) solved? |
|
@MorrisJobke now - please open a new issue and assign the technical dept label - THX |
We now support a maximum path of 4000 characters.
Php is limiting us to 4096 (260 chars on Windows 👯).
Due to maximum column length on Oracle for a varchar columns being 4000 - this is our new max path length. (I don't want to summon this migration horror on us)
@karlitschek @craigpg @icewind1991 @PVince81 @schiesbn
This is no the end of the road - more to come .....
further tasks #8571