Modul:UrlCheck: Unterschied zwischen den Versionen

K
keine Bearbeitungszusammenfassung
(angelegt)
 
KKeine Bearbeitungszusammenfassung
Zeile 20: Zeile 20:
if count == 0 then
if count == 0 then
s,count = s:gsub( '^https://', '' )
s,count = s:gsub( '^https://', '' )
if count == 0 then
-- if count == 0 then
s,count = s:gsub( '^//', '' )
-- s,count = s:gsub( '^//', '' )
end
-- end
end
end
if count == 0 then return 5 end -- missing or wrong protocol
if count == 0 then return 5 end -- missing or wrong protocol
Anonymer Benutzer