[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 Nov 9 06:25:45 EST 2011


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

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

Now parentheses, white space characters, single quotes (') and double quotes (") have additional "\" in front of it.
This rule is applied to the whole URL string including workspace path and user specified path.
Because there is a java problem of reading {noformat}"\("{noformat} string from the attribure the following code
{code}url(../css(2)/print_share_sprite.png){code} in any case will be updated to {code}url(../css\(2\)/print_share_sprite.png){code}.
While using Mozilla's nsIDOMElement.getAttribute("style") -- {noformat}"css(2)" and "css\(2\)"{noformat} will be read as "css(2)" string.
I'm working on the solution of displaying the user's url as is.
                
> 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
>
>
> I've get this problem just cause my workspace path: ${workspace_loc}/../runtime-New_configuration(2)
> I'll attach screenshot and examples and description how to fix it.

--
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