[ 
https://issues.apache.org/struts/browse/WW-1869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Musachy Barroso resolved WW-1869.
---------------------------------

    Resolution: Fixed

> Dojo fails to parse paths with "!" in ContentPane
> -------------------------------------------------
>
>                 Key: WW-1869
>                 URL: https://issues.apache.org/struts/browse/WW-1869
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.7
>            Reporter: Musachy Barroso
>         Assigned To: Musachy Barroso
>             Fix For: 2.0.8
>
>
> Index: 
> C:/etc/struts/2_1/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js
> ===================================================================
> --- 
> C:/etc/struts/2_1/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js
>         (revision 525238)
> +++ 
> C:/etc/struts/2_1/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js
>         (working copy)
> @@ -207,7 +207,7 @@
>               }
>               if (this.adjustPaths) {
>                       var regexFindTag = 
> /<[a-z][a-z0-9]*[^>]*\s(?:(?:src|href|style)=[^>])+[^>]*>/i;
> -                     var regexFindAttr = 
> /\s(src|href|style)=(['"]?)([\w()\[\]\/.,\\'"-:;#=&[EMAIL PROTECTED])\2/i;
> +                     var regexFindAttr = 
> /\s(src|href|style)=(['"]?)([\w()\[\]\/.,\\'"-:;#=&[EMAIL PROTECTED])\2/i;
>                       var regexProtocols = 
> /^(?:[#]|(?:(?:https?|ftps?|file|javascript|mailto|news):))/;
>                       while (tag = regexFindTag.exec(s)) {
>                               str += s.substring(0, tag.index);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to