escape bio
This commit is contained in:
parent
b7642d3c54
commit
4a23867a64
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ let public_profile request =
|
|||
[ [| Data.TEXT nick; Data.TEXT password; Data.TEXT email; Data.TEXT bio |]
|
||||
] ->
|
||||
Format.sprintf "nick = `%s`; password = `%s`; email = `%s`; bio = '%s'" nick
|
||||
password email bio
|
||||
password email (Dream.html_escape bio)
|
||||
| Ok _ -> "incoherent db answer"
|
||||
| Error e -> Format.sprintf "db error: %s" (Rc.to_string e)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue