[wp-trac] [WordPress Trac] #29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts
WordPress Trac
noreply at wordpress.org
Wed Oct 8 12:53:11 UTC 2014
#29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts
-----------------------------------+--------------------
Reporter: MrBobDobolina | Owner:
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 4.0.1
Component: Formatting | Version: 4.0
Severity: blocker | Resolution:
Keywords: wptexturize has-patch | Focuses:
-----------------------------------+--------------------
Comment (by kitchin):
Replying to [comment:90 kovshenin]:
> @kitchin would love to see the code for your simplified algorithm.
POC patch coming up. It might be good for some future work, but the
changes in the unit tests show why this patch is insufficient.
One minor thing: current code treats unclosed comments differently from
other unclosed html tags. Unclosed comments already have a unit test: they
are treated as comments. Unclosed html tags are treated as non-html text,
and I added a unit test documenting that. Not worth worrying about, it
just affects whether the broken html tag is texturized or not. The browser
will hide it in either case. I just added the test to show the POC can do
the same thing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29557#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list