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

Improve error handling for global template uploads #2595

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Nov 2, 2022

Make the validation code of global template upload a bit easier and properly log php error codes. In addition we now try to get the mime type from the path if the browser doesn't send one.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl force-pushed the bugfix/noid/global-template-error-handling branch from b5d25d2 to 165d40c Compare November 2, 2022 14:17
@juliushaertl juliushaertl changed the title bugfix/noid/global template error handling Improve error handling for global template uploads Nov 2, 2022
@juliushaertl juliushaertl requested review from Raudius, a team and vinicius73 and removed request for a team November 2, 2022 14:53
@juliushaertl juliushaertl added bug Something isn't working 3. to review Ready to be reviewed labels Nov 2, 2022
@juliushaertl juliushaertl merged commit 086eae7 into master Nov 3, 2022
@juliushaertl juliushaertl deleted the bugfix/noid/global-template-error-handling branch November 3, 2022 10:55
@juliushaertl
Copy link
Member Author

/backport to stable25

@juliushaertl
Copy link
Member Author

/backport to stable24

@juliushaertl
Copy link
Member Author

/backport to stable23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants