Skip to content
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

Use OC.generateUrl to properly prefix preview images #10416

Merged
merged 1 commit into from
Jul 27, 2018

Conversation

juliusknorr
Copy link
Member

Otherwise the preview on public share links will not load on setups with use a index.php prefix.

fixes #10414

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@MorrisJobke MorrisJobke mentioned this pull request Jul 26, 2018
51 tasks
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 27, 2018
@rullzer
Copy link
Member

rullzer commented Jul 27, 2018

I general shouldn't we just fix linkTo?

@rullzer rullzer merged commit 5edab3b into master Jul 27, 2018
@rullzer rullzer deleted the bugfix/10414/fix-preview-url branch July 27, 2018 07:33
@juliusknorr
Copy link
Member Author

@rullzer linkTo has a different approach, it looks for the app directory (which may not be /apps/) and uses the correct one to link to a file from there. But maybe we should make that a bit more obvious. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public share page of images is empty
4 participants