Skip to content
Snippets Groups Projects
Commit 5c440f9a authored by echicken's avatar echicken
Browse files

Pass the body text of a posted message through lfexpand before saving it.

parent 65f74ef8
Branches
Tags
No related merge requests found
...@@ -11,7 +11,7 @@ if(http_request.query.hasOwnProperty('postmessage')) { ...@@ -11,7 +11,7 @@ if(http_request.query.hasOwnProperty('postmessage')) {
http_request.query.to, http_request.query.to,
http_request.query.from, http_request.query.from,
http_request.query.subject, http_request.query.subject,
http_request.query.body lfexpand(http_request.query.body)
); );
if(!x) if(!x)
print("An error was encountered. Your message was not posted."); print("An error was encountered. Your message was not posted.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment