mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +00:00
Escape any html from pasties before sending the response.
This commit is contained in:
parent
3c10d624e3
commit
3e60ea4183
4 changed files with 10 additions and 8 deletions
|
@ -30,7 +30,7 @@ namespace tawashi {
|
|||
private:
|
||||
virtual void on_process() override;
|
||||
virtual void on_send (std::ostream& parStream) override;
|
||||
boost::optional<std::string> submit_to_redis (boost::string_ref parText) const;
|
||||
boost::optional<std::string> submit_to_redis (const std::string& parText) const;
|
||||
|
||||
std::string m_error_message;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue