Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[12.x] Fix AppendableAttributeValue escape string value#58168

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
basantashubhu wants to merge2 commits intolaravel:12.x
base:12.x
Choose a base branch
Loading
frombasantashubhu:12.x

Conversation

@basantashubhu
Copy link

Issue: AppendableAttributeValue did not escape the string value at first.

image

Fix: The fix is simple escape the string at the begining not while resolving.

$attributeDefaults = array_map(function ($value) use ($escape) {    if($value instanceof AppendableAttributeValue) {        return new AppendableAttributeValue(            $this->resolveAppendableAttributeDefault([$value], 0, $escape)        );    }    return $this->shouldEscapeAttributeValue($escape, $value)        ? e($value)        : $value;});

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@basantashubhubasantashubhu marked this pull request as ready for reviewDecember 19, 2025 07:49
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@basantashubhu

[8]ページ先頭

©2009-2025 Movatter.jp