You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let print_ymd =
get "/:title"
begin fun req ->
let filename = param req "title" in
let filepath = "dir/" ^ filename in
`Html load_file filepath |> respond'
end
There could be an issue with a malicious request containing ../../. But using telnet I noticed that opium seems to ignore the first ../../. Is that normal behaviour?
The text was updated successfully, but these errors were encountered:
Say one does:
There could be an issue with a malicious request containing
../../
. But using telnet I noticed that opium seems to ignore the first../../
. Is that normal behaviour?The text was updated successfully, but these errors were encountered: