Unverified Commit 63208e41 authored by Stéphane Glondu's avatar Stéphane Glondu Committed by GitHub

Merge pull request #3 from pierreboudes/fix_cas-serveur-url-may-contains-numbers

cas server url may contains numbers, improving the regexp
parents 2df83575 1215430c
Pipeline #93168 passed with stages
in 24 minutes and 24 seconds
......@@ -451,7 +451,7 @@ let create_new_election owner cred auth =
let () = Html.register ~service:election_draft_pre
(fun () () -> T.election_draft_pre ())
let http_rex = "^https?://[a-z/.-]+$"
let http_rex = "^https?://[a-z0-9/.-]+$"
let is_http_url =
let rex = Pcre.regexp ~flags:[`CASELESS] http_rex in
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment