Skip to content

Comments

fix(@angular-devkit/build-angular): correctly handle data URIs with escaped quotes in stylesheets#23691

Merged
dgp1130 merged 1 commit intoangular:mainfrom
alan-agius4:css-url-quote
Aug 4, 2022
Merged

fix(@angular-devkit/build-angular): correctly handle data URIs with escaped quotes in stylesheets#23691
dgp1130 merged 1 commit intoangular:mainfrom
alan-agius4:css-url-quote

Conversation

@alan-agius4
Copy link
Collaborator

Previously, the RegExp didn't correctly handle cases where data URIs had escaped quotes like the below

url("data:image/svg+xml;charset=utf-8,<svg width=/"16/" height=/"15/"></svg>")

Closes #23680

@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 4, 2022
@alan-agius4 alan-agius4 requested a review from clydin August 4, 2022 13:21
…scaped quotes in stylesheets

Previously, the RegExp didn't correctly handle cases where data URIs had escaped quotes like the below

```css
url("data:image/svg+xml;charset=utf-8,<svg width=/"16/" height=/"15/"></svg>")
```

Closes angular#23680
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 4, 2022
@dgp1130 dgp1130 merged commit 70bc354 into angular:main Aug 4, 2022
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this pull request Aug 22, 2022
PR angular#23691 introduced a regression that caused paranthesis in url not to be handled correctly.

This change correct this behaviour and adds a test case to valid this.

Closes angular#23773
dgp1130 pushed a commit that referenced this pull request Aug 22, 2022
PR #23691 introduced a regression that caused paranthesis in url not to be handled correctly.

This change correct this behaviour and adds a test case to valid this.

Closes #23773
dgp1130 pushed a commit that referenced this pull request Aug 22, 2022
PR #23691 introduced a regression that caused paranthesis in url not to be handled correctly.

This change correct this behaviour and adds a test case to valid this.

Closes #23773

(cherry picked from commit 147f8c3)
dgp1130 pushed a commit that referenced this pull request Aug 22, 2022
PR #23691 introduced a regression that caused paranthesis in url not to be handled correctly.

This change correct this behaviour and adds a test case to valid this.

Closes #23773

(cherry picked from commit 147f8c3)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 4, 2022
@alan-agius4 alan-agius4 deleted the css-url-quote branch June 9, 2023 15:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Double quoted url() arguments are parsed incorrectly

3 participants