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
|
||||
-- in the case of redirection.
|
||||
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
|
||||
else
|
||||
url := session.url (a_url, Void)
|
||||
|
||||
Reference in New Issue
Block a user