liquid_feedback_frontend

view env/util/trim.lua @ 1511:f1258993d993

Fixed issue with oauth/session endpoint and samesite cookies
author bsw
date Thu Aug 20 13:44:54 2020 +0200 (2020-08-20)
parents de8602f8d9bb
children
line source
1 function util.trim(string)
2 if string == nil then
3 return string
4 end
5 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
6 end

Impressum / About Us