aboutsummaryrefslogtreecommitdiff
path: root/src/content/static/Static.hpp
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2021-10-21 14:52:26 +0200
committerlns <matzeton@googlemail.com>2021-10-21 14:59:00 +0200
commit9266070e51422a71566ee5c04db42feec996c485 (patch)
tree4ff57de8bfce87bde001c80c7ab9fae3080aa248 /src/content/static/Static.hpp
parent384724a00be9dbb8f40d295f99b9c6bcfb48b387 (diff)
Improved URI handling and redirection/routing.
* parse and process URI query strings * remove garbage slashes from URI path / sanitize * more template examples Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/content/static/Static.hpp')
-rw-r--r--src/content/static/Static.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/static/Static.hpp b/src/content/static/Static.hpp
index b9de983..8d702ec 100644
--- a/src/content/static/Static.hpp
+++ b/src/content/static/Static.hpp
@@ -13,9 +13,9 @@ public:
void Shutdown();
bool Render(RequestResponse & rr, RenderData & rd, std::string & out);
- std::string const & GetUriBasePath() const;
+ std::string & GetUriBasePath();
std::string const & GetMainTemplate() const;
- Redirections const & GetRedirections() const;
+ Redirections & GetRedirections();
private:
std::string m_UriBasePath;