diff options
author | lns <matzeton@googlemail.com> | 2021-10-21 14:52:26 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2021-10-21 14:59:00 +0200 |
commit | 9266070e51422a71566ee5c04db42feec996c485 (patch) | |
tree | 4ff57de8bfce87bde001c80c7ab9fae3080aa248 /src/content/static/Static.cpp | |
parent | 384724a00be9dbb8f40d295f99b9c6bcfb48b387 (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.cpp')
-rw-r--r-- | src/content/static/Static.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/static/Static.cpp b/src/content/static/Static.cpp index 132f0a0..93f9905 100644 --- a/src/content/static/Static.cpp +++ b/src/content/static/Static.cpp @@ -44,7 +44,7 @@ bool Static::Render(RequestResponse & rr, RenderData & rd, std::string & out) return true; } -std::string const & Static::GetUriBasePath() const +std::string & Static::GetUriBasePath() { return m_UriBasePath; } @@ -54,7 +54,7 @@ std::string const & Static::GetMainTemplate() const return m_MainTemplatePath; } -Redirections const & Static::GetRedirections() const +Redirections & Static::GetRedirections() { return m_Redirections; } |