#4695: Flay::toHtml returns incorrect output for links followed by a newline
---------------------------+------------------------------------------------
Reporter: d.terhorst | Owner:
Type: Bug | Status: new
Priority: Low | Milestone:
Component: Core Libs | Version: RC1
Severity: Normal | Resolution:
Keywords: | Php_version: PHP 5
Cake_version: 6846 |
---------------------------+------------------------------------------------
Comment (by klokie):
TextHelper::flay should use the following regular expression to match and
reformat valid URIs:
{{{
((?:http|https|ftp|nntp)://[^\s\^<>\"\$\'\[\]]+)
}}}
This syntax is in accordance with IETF RFC 1738
<http://tools.ietf.org/html/rfc1738>, but it may require adjustment or
verification to work with other URIs or XRIs.
I've attached a patch which should fix this issue.
--
Ticket URL: <https://trac.cakephp.org/ticket/4695#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---