Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
a519be8a
Commit
a519be8a
authored
Mar 10, 2017
by
Stephane Glondu
Browse files
Trim received ballots
parent
14eadb71
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/web/web_site.ml
View file @
a519be8a
...
...
@@ -1187,6 +1187,7 @@ let () =
Lwt_stream
.
to_string
(
Lwt_io
.
chars_of_file
fname
)
|
_
,
_
->
fail_http
400
in
let
the_ballot
=
PString
.
trim
the_ballot
in
let
cont
()
=
Redirection
.
send
(
Eliom_service
.
preapply
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment