Page 1 of 1

The URL "" has been denied - can't open any _blank links

Posted: Wed Mar 09, 2016 1:20 pm
by lincc-ils
We are moving form PWB 2 to PWB 3 CEF. Everything is working well, except that as soon as I enable URL.txt, I can't open any urls that are coded to open in a new window. The message is 'The URL "" has been denied'. I do have +about:blank in URL.txt, which I think is supposed to handle this situation. I also have DisableNewWindow=FALSE, DisableNewWindowInit=FALSE.

It doesn't matter what URL I try to open, as long as it has a target="_blank" in the coding, it won't open with the message above. It seems like the filter is kicking in before about:blank loads. Is there anything in PWB.INI or URL.txt that can fix this situation? Thanks for any thoughts. -David

Re: The URL "" has been denied - can't open any _blank links

Posted: Wed Mar 09, 2016 3:11 pm
by Scott
What is the URL of the page with the issue?

With PWB v3 CEF, under certain circumstances web sites will present an empty string for the URL and this will cause the URL filter to default to what is specified in the filter file for "+/-all".

PWB v3.05.0, available on the Beta Downloads page, adds [Security]FilterIgnoreEmpty=Ture to correct for this.

--Scott

Re: The URL "" has been denied - can't open any _blank links

Posted: Wed Mar 09, 2016 4:24 pm
by lincc-ils
Scott, thanks for the reply. I can confirm that using the 3.05.0 beta and setting [Security]FilterIgnoreEmpty=True fixed the problem!
The page I was testing is: https://lincc.ent.sirsi.net/client/en_U ... %7C%7Ctrue

From there, clicking on the Library2Go or 3M Cloud Library link would produce the error before adding the new setting.

Do you know when this feature will go into a production release?

Thanks again,
David

Re: The URL "" has been denied - can't open any _blank links

Posted: Thu Mar 10, 2016 12:18 pm
by Scott
We will be releasing it soon as this seems to be a pretty big issue with the site and there was not much change in PWB to correct it.

--Scott

Re: The URL "" has been denied - can't open any _blank links

Posted: Mon Jun 27, 2016 10:56 am
by npk13
Hi Scott,

I'm just reporting that Newcastle University are seeing this problem too!

We are using the PWB v 3.0.4.4 (chrome engine) and have just started getting this issue from the off campus links on the page:
http://www.ncl.ac.uk/library/resources/ ... atalogues/
These sites are explicitly included in our URL.txt file, everything else is blocked.

Is the production 3.05.0 version ready to download yet? (Or is the beta sound enough to deploy?)

Thanks,

Paul.

Re: The URL "" has been denied - can't open any _blank links

Posted: Mon Jun 27, 2016 2:28 pm
by Scott
If you turn off the filters with the following is the page denied?

[Security]
CheckURLAccess=False

If the page is allowed after turning off the filter you are blocking something in the page with the filter.

See the following about the PWB filters:
https://www.teamsoftwaresolutions.com/f ... p?f=4&t=13

Using PWB v3 CEF you can turn on the following to only check the mainframe URL.

[Security]
CheckURLMainFrameOnly=True

--Scott

Re: The URL "" has been denied - can't open any _blank links

Posted: Mon Jun 27, 2016 2:49 pm
by Scott
Set the following in your INI file to have PWB indicate what URLs are being denied in the history file.

[Files]
HistoryFile=History.txt

[Security]
WriteHistoryFile=True
LogAccess=True

Here are the history file codes:
https://www.teamsoftwaresolutions.com/f ... ?f=4&t=195

--Scott

Re: The URL "" has been denied - can't open any _blank links

Posted: Fri Jul 01, 2016 2:12 pm
by Scott
Paul,

Thank you, we will delve into it with your configuration.

Have you tried PWB v3.05.0 with the following setting?

[Security]
FilterIgnoreEmpty=True

Does this fix the problem?

--Scott