Skip to content

Comments

normalize path in getInternalPath#24564

Merged
PVince81 merged 1 commit intomasterfrom
fix_21173_take_2
Jun 3, 2016
Merged

normalize path in getInternalPath#24564
PVince81 merged 1 commit intomasterfrom
fix_21173_take_2

Conversation

@georgehrke
Copy link
Contributor

@georgehrke georgehrke commented May 11, 2016

fixes #21173

please test @PVince81 @oparoz

supersedes #24329

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @icewind1991, @PVince81 and @butonic to be potential reviewers

@oparoz
Copy link
Contributor

oparoz commented May 11, 2016

All tests seem to pass, this seems to be a good solution. I'll need to test with Gallery to see if it has an impact, since there is a lot of duct tape to be able to retrieve the proper file.

@georgehrke
Copy link
Contributor Author

rebased

@icewind1991
Copy link
Contributor

👍 looks good

@PVince81
Copy link
Contributor

I'm worried that it might interfered with #21365

Maybe the normalization should use the flag that does not normalize UTF-8

@PVince81
Copy link
Contributor

PVince81 commented May 30, 2016

or use trim($x, '/') instead

@PVince81 PVince81 added this to the 9.1-current milestone May 31, 2016
@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

@oparoz did you get a chance to test this with gallery ?

@georgehrke please adjust and use the trim functions

@georgehrke
Copy link
Contributor Author

georgehrke commented Jun 1, 2016

AFAIK the double (or more) slashes were inside the string. trim will only cut off multiple slashes at the start and the end.

@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

@georgehrke
Copy link
Contributor Author

done

@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

Thanks 👍

Did some testing with encryption and all still seem to work fine.

@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

@georgehrke can you backport to 9.0 and 8.2 ? Make sure to remove the "keepUnicode" bit as it didn't exist there 😄

CC @cmonteroluque @DeepDiver1975

@PVince81 PVince81 force-pushed the fix_21173_take_2 branch from 0d39b0f to 89a10fd Compare June 2, 2016 17:12
@PVince81
Copy link
Contributor

PVince81 commented Jun 2, 2016

Rebased for CI

@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Owncloud Android App can't see Thumbnails of images located on some external storage in 8.2.1- 8.2.2 - 9.0.0

6 participants