mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-27 00:43:47 +00:00
Another attempt at fixing the 502 Gateway error.
This commit is contained in:
parent
26d8b553d7
commit
640315cbba
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ namespace cgi {
|
|||
|
||||
if (boost::starts_with(parPath, base_path)) {
|
||||
//account for the trailing slash in either base path and path info
|
||||
return std::min(parBasePath.size(), parPath.size()) + (1 - base_path_tr_slash);
|
||||
return std::min(parBasePath.size() + (1 - base_path_tr_slash), parPath.size());
|
||||
}
|
||||
else {
|
||||
std::string str_base_path(parBasePath.begin(), parBasePath.end());
|
||||
|
|
Loading…
Reference in a new issue