jahaziel17 / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

CssUrlRewriting and https #796

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a group in my wro.xml file that points to resources at 
http://foo.com/blah. This seems to work fine when I'm requesting the resource 
with http. The images use a relative path. However, when I switch to https, it 
uses an absolute path for images and still uses "http" instead of https. This 
causes a security warning in IE7 and IE8. Is there a way to make the https 
request use relative paths too?

Solution:
Make it smart enough to use http when it's an http:// request and https when 
it's secure.

Mailing list thread where the issue was originally reported:
https://groups.google.com/forum/#!topic/wro4j/8Wfq7gK_EcQ

Original issue reported on code.google.com by alex.obj...@gmail.com on 3 Oct 2013 at 7:17

GoogleCodeExporter commented 8 years ago
It is not safe to assume that the remote endpoint works when being accessed 
over SSL. Also, it is possible to use https scheme for remote endpoint in 
wro.xml when serving wro resources over https. 
Closing this issue with WONTFIX resolution.

Original comment by alex.obj...@gmail.com on 10 Oct 2013 at 12:06