What are the conditions that make the URL valid? I am trying to load a JAlbum through the iFrame. I put the folder in my "files" folder, so when I do my link to it I'm doing http://staging.website.com/files/Jablum This isn't the exact URL, but that's how it is set up. I keep getting a message that the URL is not valid. What am I doing wrong?

Comments

neffets’s picture

Status: Active » Postponed (maintainer needs more info)

The URI is valid.
Can You provide the invalid URI? are there "umlaut"'s , query-strings, percent signs or any special?

neffets’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closed, because no further infor from the issue-creator

serg.remote’s picture

Version: 6.x-1.5 » 6.x-1.7
Status: Closed (cannot reproduce) » Active

Same issue here, URL contains umlauts: http://de.wikipedia.org/wiki/Folgen_der_globalen_Erwärmung

serg.remote’s picture

Here's what I did to make it work for me:
$directories = "(\/[a-z0-9_\-\.~+%=&,$'():;*@\[\]]*)*";
changed to
$directories = "(\/[a-z0-9_\-\.~+%=&,$'():;*@\[\]äöü]*)*";
and
$query = "(\/?\?([?a-z0-9+_|\-\.\/\\\\%=&,$'():;*@\[\]\{\}]*))";
changed to
$query = "(\/?\?([?a-z0-9+_|\-\.\/\\\\%=&,$'():;*@\[\]\{\}äöü]*))";

neffets’s picture

Version: 6.x-1.7 » 6.x-1.8
Assigned: Unassigned » neffets
Status: Active » Fixed

I added some more chars to the query string check (e.g. "!").
BUT You should not use 8bit-chars/utf8-chars plainly in an url, You should urlencode it, e.g. %25 = %
Same should occur with such "umlauts", nobody knows if its iso or utf8 signs, so one should encode the chars with %NN. (In the address line of an browser the browser does this for You, for the iframe-url You should do it).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.