Skip to content

Conversation

@lyrixx
Copy link
Member

@lyrixx lyrixx commented Sep 15, 2013

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/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
Member Author

lyrixx commented Sep 15, 2013

@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
Member Author

lyrixx commented Sep 15, 2013

@cordoval I re-push to re-launch CI

@fabpot
Copy link
Member

fabpot commented Sep 17, 2013

closing in favor of #9055

@fabpot fabpot closed this Sep 17, 2013
fabpot added a commit that referenced this pull request Sep 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/a

When 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 styles
1f88a28 [Console] added some more information about OutputFormatter::replaceStyle()
a47d663 [Console] fixed the formatter for single-char tags
c6c35b3 [Console] Escape exception message during the rendering of an exception
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.

3 participants