[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Grilli updated MAGNOLIA-4133:
--------------------------------------

    Fix Version/s: 4.4.7
                       (was: 4.4.x)
                       (was: 4.5.2)

> FCKEditor does not handle phonenumber-links properly
> ----------------------------------------------------
>
>                 Key: MAGNOLIA-4133
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4133
>             Project: Magnolia
>          Issue Type: Bug
>      Security Level: Public
>          Components: fckeditor
>    Affects Versions: 4.4.5, 4.5.1
>         Environment: Linux
>            Reporter: Daniel Wijk
>            Assignee: Espen Jervidalo
>            Priority: Major
>             Fix For: 4.4.7
>
>         Attachments: mgnl_fix.txt
>
>
> I am trying to use tel-links 
> (http://www.marketingtechblog.com/hyperlink-phone-number/) in the FCKEditor.
> Magnolia interprets them as internal links and mangles them up.
> It make maintaining a mobile-site a bit of a pain.
> The problem is that tel-links is not detected in the 
> LinkUtil.EXTERNAL_LINK_PATTERN and thus is categorized as an internal link 
> and treated as such.
> Since the problem is occurring in the Loader for the FCKEditor you can still 
> create the link and have it work if you refrain from editing the text 
> afterwards. If you do edit the text however, the link will be corrupted.
> Fix:
> {code}
> info.magnolia.link.LinkUtil.EXTERNAL_LINK_PATTERN should be changed from:
> Pattern.compile("^(\\w*://|mailto:|javascript:).*");
> {code}
> to this:
> {code}Pattern.compile("^(\\w*://|mailto:|javascript:|tel:).*");
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to