Fixed typo to process relative or absolute url.
This commit is contained in:
@@ -31,7 +31,7 @@ feature {NONE} -- Initialization
|
|||||||
-- This can be used to reset/reinitialize Current with new url
|
-- This can be used to reset/reinitialize Current with new url
|
||||||
-- in the case of redirection.
|
-- in the case of redirection.
|
||||||
do
|
do
|
||||||
if a_url.starts_with ("http://") or a_url.starts_with ("http://") then
|
if a_url.starts_with ("https://") or a_url.starts_with ("http://") then
|
||||||
url := a_url
|
url := a_url
|
||||||
else
|
else
|
||||||
url := session.url (a_url, Void)
|
url := session.url (a_url, Void)
|
||||||
|
|||||||
Reference in New Issue
Block a user