mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-02-09 09:23:56 +00:00
Fix wrong parameter in redirect address.
This commit is contained in:
parent
9b28b2d274
commit
ba1b417f07
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ namespace tawashi {
|
|||
|
||||
void SubmitPasteResponse::error_redirect (int parCode, ErrorReasons parReason) {
|
||||
std::ostringstream oss;
|
||||
oss << base_uri() << "/error.cgi?code=" << parCode << "&reason=" << parReason;
|
||||
oss << base_uri() << "/error.cgi?code=" << parCode << "&reason=" << parReason._to_integral();
|
||||
this->change_type(Response::Location, oss.str());
|
||||
}
|
||||
} //namespace tawashi
|
||||
|
|
Loading…
Add table
Reference in a new issue