Fixed typo to process relative or absolute url.

This commit is contained in:
Jocelyn Fiat
2017-10-09 14:23:45 +02:00
parent 2f98d7031f
commit 48af63af83

View File

@@ -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)