MCI-1: Issue with H3 Regex



Issue Information

Issue Type: Task
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: Mod Cat Implode (MCI)
Resolution: Fixed (2014-11-06 16:03:55)

Created: 2013-10-21 22:12:33
Time Spent Working


Description
There's an issue with the Regex used to detect H3's. The following text, for example, will trigger it and lead to a broken layout


<br /> "timestamp":1382057808,<br /> "response":[<br /> "eJw9jMsOgjAQRb+GLslMI3H36EJ0485o+IAKAxINwRYT+HtREjZnce7jyUvfeBQxDI13BFp0PHhUJMFYAhLTMrK\/cUqC5ykGn9kyk\/J8WZGpw0rCHJXO0chc\/6Q8ruR57COnrbS9kQXawiu\/P5wmbsplf6lw31aJ4+7\/2p5EeHU+PQKK1Hde17YlBdYwILaG0dUuqDvIYArtQNtQ8Bq6L577OhI=",<br /> 1382058708<br /> ],<br /> "errors":null,<br /> "error":0<br />


The H3 buried within the response eJw9jMsOgjAQRb+GLslMI3 H3 6EJ0485o+IAKAxINwRYT is detected by the regex and the preceding characters up to the opening of the <br> are treated as part of the tag.


Toggle State Changes

Activity


Was able to work around it on the affected page by simply changing the H3 to something else (as it was only an example) but need a longer term solution
btasker changed status from 'Open' to 'Resolved'
btasker added 'Ben Tasker' to assignee
btasker added 'Fixed' to resolution
btasker changed status from 'Resolved' to 'Closed'
Repo: mod_CatImplode
Host:Rimmer

commit fd20905e6b24b916d29c56eb18f4b57099fcf9eb
Author: Ben Tasker <github@<Domain Hidden>>
Date: Thu Nov 6 16:03:39 2014 +0000

Commit Message: Corrected wildcard used for H3's. See MCI-1

helper.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


View Commit | View Changes