Uh oh!
There was an error while loading. Please reload this page.
Fix regex of iconsCacher - #10326
Merged
Merged
Conversation
skjnldsv
requested review from
MorrisJobke, jancborchardt, juliusknorr and rullzerJuly 21, 2018 15:28
| /** @var string */ | ||
| private $iconVarRE = '/--(icon-[a-z0-9-]+): url\(["\']([a-z0-9-_\~\/\?\&\=\.]+)[^;]+;/m'; | ||
| private $iconVarRE = '/--(icon-[a-z0-9-]+): url\(["\']([a-z0-9-_\~\/\.]+)[^;]+;/m'; |
Member
There was a problem hiding this comment.
Just recognized it might make sense to also allow uppercase chars
rullzer
approved these changes
Jul 21, 2018
rullzer
left a comment
Member
There was a problem hiding this comment.
In theory fine. But I always like it is we have test for stuff like this.
skjnldsv
commented
Jul 22, 2018
MemberAuthor
Right! Let me add tests :) |
MorrisJobke
commented
Jul 24, 2018
Member
Now I get this instead: |
skjnldsv
commented
Jul 24, 2018
MemberAuthor
@MorrisJobke wrong icon, star_dark comes from core/actions. I'll fix it |
MorrisJobke
commented
Jul 24, 2018
Member
Just noticed that it was before like this: |
MorrisJobke
approved these changes
Jul 24, 2018
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
skjnldsv
commented
Jul 24, 2018
MemberAuthor
Tests added! |
skjnldsv
commented
Jul 24, 2018
MemberAuthor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix#10309