Loading of css is blocked if hostname is not fully qualified

Ask for help about NoScript, no registration needed to post
jpwilhelms

Loading of css is blocked if hostname is not fully qualified

Post by jpwilhelms »

Inside a web page I have the following snippet:

Code: Select all

<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<base href="https://XXXXX /">
<title>Example</title>
<link href="Layout/standard.css" type="text/css" title="Example" rel="stylesheet">
</head>
<body>
The referenced page standard.css looks like this:

Code: Select all

@import url( "standard2.css" );
@import url( "standard3.css" );
After upgrading the noscript plugin (version 2.4.3) within Firfefox ESR 10.0.4 the css pages standard.css, standard2.css and standard3.css are not loaded anymore. With an earlier version of noscript everything worked as expected.

This behaviour only occurs if I use a short URL (https://hostname/...). If I use a fully qualified URL (https://hostname.mynet.com/...) all css files are loaded.

Why is noscript blocking this? Is there a known security problem?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Loading of css is blocked if hostname is not fully quali

Post by therube »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/15.0 Firefox/15.0a1 SeaMonkey/2.12a1
jpwilhelms

Re: Loading of css is blocked if hostname is not fully quali

Post by jpwilhelms »

The current development version (2.4.4rc1) does not solve the problem.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Loading of css is blocked if hostname is not fully quali

Post by therube »

Just to confirm, NoScript 2.4.2 does work?

If so, could be a related side issue that needs fixing?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120527 Firefox/14.0a2 SeaMonkey/2.11a2
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Loading of css is blocked if hostname is not fully quali

Post by Giorgio Maone »

Does looking your Error Console (Ctrl+Shift+J) for [NoScript] and [ABE] lines yield any interesting result?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Post Reply