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

[Console] Escape exception message during the rendering of an exception#9045

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

Closed
lyrixx wants to merge1 commit intosymfony:2.2fromlyrixx:console-render-exception

Conversation

@lyrixx
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRn/a

reopen#8853 against 2.2 branch

When the exception message contains some HTML, this display is
broken.

I don't know enought about the differents Output classes.
Maybe we have to check the current Output class before
escaping. But for the moment, we allways format the message
with error tags, so I guess the escape is not an issue.

@lyrixx
Copy link
MemberAuthor

@fabpot I re-open my previous against 2.2 branch. I added more tests. Is it enough ?

@cordoval
Copy link
Contributor

@lyrixx why the segmentation fault, been seeing those randomly on travis

@lyrixx
Copy link
MemberAuthor

@cordoval I re-push to re-launch CI

@fabpot
Copy link
Member

closing in favor of#9055

@fabpotfabpot closed thisSep 17, 2013
fabpot added a commit that referenced this pull requestSep 17, 2013
This PR was merged into the 2.2 branch.Discussion----------[Console] Fixed exception rendering| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#9045| License       | MIT| Doc PR        | n/aWhen an exception message contains styles, the output is not the expected one. This PR addresses this issue.Commits-------c8d0342 [Console] fixed exception rendering when nested styles1f88a28 [Console] added some more information about OutputFormatter::replaceStyle()a47d663 [Console] fixed the formatter for single-char tagsc6c35b3 [Console] Escape exception message during the rendering of an exception
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.

3 participants

@lyrixx@cordoval@fabpot

[8]ページ先頭

©2009-2025 Movatter.jp