[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
Wed Dec 14 07:46:09 EST 2011
[ https://issues.jboss.org/browse/JBIDE-9975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650860#comment-12650860 ]
Denis Maliarevich commented on JBIDE-9975:
------------------------------------------
1) These two lines are the same:
{code}
<body style="background-image:url(./../css ( 2 )/hsqldb.png);"> - without '\' (DISPLAYED)
<body style="background-image:url(./../css ( 2 )/hsqldb.png);"> - with escaped symbol '/' (NOT DISPLAYED)
{code}
Is it correct?
2) In general,
{code}
<body style="background-image:url(./../css ( 2 )/hsqldb.png);">
{code}
should *NOT* be displayed. Because there are no quotes or escaped sequence "css\ \(\ 2\ \)" .
> 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.M5
>
> 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