[jbosstools-issues] [JBoss JIRA] (JBIDE-9975) Escaped symbols in workspace path brake detection of CSS url path

Denis Maliarevich (Commented) (JIRA) jira-events at lists.jboss.org
Tue Jan 3 10:45:14 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-9975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653542#comment-12653542 ] 

Denis Maliarevich commented on JBIDE-9975:
------------------------------------------

So both styles won't be displayed:
{code}
<body style="background-image:url(./../css\ ( 2 )/hsqldb.png);"> - with escaped symbol ' '
<body style="background-image:url(./../css ( 2 \)/hsqldb.png);"> - with escaped symbol ')'
{code}
because *ALL* the parentheses and spaces should be escaped:
{code}
<body style="background-image:url(./../css\ \(\ 2\ \)/hsqldb.png);">
{code}

                
> Escaped symbols in workspace path brake detection of CSS url path
> -----------------------------------------------------------------
>
>                 Key: JBIDE-9975
>                 URL: https://issues.jboss.org/browse/JBIDE-9975
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M4
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.Beta1
>
>         Attachments: print_share_sprite.png, screenshot-1.jpg, screenshot-2.jpg, _example_page.html
>
>
> In some cases background image in the web file is not sown. Particularly when the path to the image is defined inside css style in "url" attribute.
> The issue happens when workspace path has symbols that shuld be escaped in css, like whitespaces, parentheses, etc: "${workspace_loc}/../runtime(2)".
> When JBDS resolves this path escaped symbols are written without any changes. It conducts to the failure that image is not displayed on the page.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list