SSL VPN
Reply
New User
Tecsisa
Posts: 1
Registered: ‎03-02-2011
0

IVE fails to rewrite GWT 2.0.3 with CSS in a ClientBundle

[ Edited ]

Hi

 

We have found a bug in the IVE of Juniper SA-4000 version 6.5R8 :

 

An application using GWT 2.0.3 with CSS in a ClientBundle has CSS rules that include images as background.

 

When accessing the application from the Internet the IVE has to  rewrite all URLs, example:

 

Real URL:

http://privateserver.domain.com/img/logo.gif

 

Rewritten URL:

../img/,DanaInfo=privateserver.domain.com+logo.gif

 

The problem:

 

URLs are not rewritten in the CSS rules that are part of a ClientBundle in Firefox or Chrome as it does in Internet Explorer. The CSS rules that are part of a ClientBundle are written by GWT compiler to the HTML page between Style tags using JavaScript.

 

Example:

 

In CCS;

 

       @external sesion;

                #sesion{

                               background-image:        url(img/sesion.gif);

                               background-repeat:      no-repeat;

                }

 

In Internet Explorer, the URL for the image is rewritten:

<SCRIPT defer>

</SCRIPT>

<STYLE>

HTML {

FONT-SIZE: 145%

}

                #sesion{

                               background-image:        url(../img/,DanaInfo=privateserver.domain.com+sesion.gif);

                               background-repeat:      no-repeat;

                }

 

In Firefox or Chrome the URL for the image is not rewritten:

                #sesion{

                               background-image:        url(img/sesion.gif);

                               background-repeat:      no-repeat;

                }

 

Thanks

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.