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

[1.x] Throw a validation error on ico favicons. #2949

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Jul 1, 2021

Part of flarum/issue-archive#73

Changes proposed in this pull request:
As mentioned in the issue, since we can't fix the problem in an unbreaking way, we at least throw a validation error instead of a 500.

Reviewers should focus on:
Code quality.
Are there any better alternatives.

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

@SychO9 SychO9 added this to the 1.0.5 milestone Jul 1, 2021
@SychO9 SychO9 modified the milestones: 1.0.5, 1.1 Aug 15, 2021
@SychO9 SychO9 changed the base branch from master to 1.0.5 August 21, 2021 07:12
@SychO9 SychO9 modified the milestones: 1.1, 1.0.5 Aug 21, 2021
@SychO9
Copy link
Member Author

SychO9 commented Aug 21, 2021

If there are no objections, I'll merge this into 1.0.5 instead

@davwheat
Copy link
Member

Go for it! Remember to cherry pick it onto master, too.

@SychO9
Copy link
Member Author

SychO9 commented Aug 21, 2021

Go for it! Remember to cherry pick it onto master, too.

won't be necessary, we'll just merge 1.0.5 into master after it's released.

@SychO9 SychO9 merged commit b5620e0 into 1.0.5 Aug 21, 2021
@SychO9 SychO9 deleted the sm/2948-validation-error-ico-favicon branch August 21, 2021 15:14
@SychO9 SychO9 modified the milestones: 1.0.5, 1.1 Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants