Skip to content

Commit

Permalink
Fix a bug that auto adding tail / should not to 'exp:' type context
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlst committed Jan 3, 2020
1 parent a696b1a commit df48e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/http/httpvhost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2607,7 +2607,7 @@ int HttpVHost::configContext(const XmlNode *pContextNode)
}

//If pLocation does not have tail /, add it now
if ( *(pLocation + strlen(pLocation) - 1) != '/' )
if (!match && *(pLocation + strlen(pLocation) - 1) != '/' )
{
if (!needUpdate)
defLocation.setStr(pLocation);
Expand Down
2 changes: 1 addition & 1 deletion src/main/lshttpdmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
/***
* Do not change the below format, it will be set correctly while packing the code
*/
#define BUILDTIME " (built: Fri Jan 3 13:33:02 UTC 2020)"
#define BUILDTIME " (built: Fri Jan 3 21:54:03 UTC 2020)"

#define GlobalServerSessionHooks (LsiApiHooks::getServerSessionHooks())

Expand Down

0 comments on commit df48e6b

Please sign in to comment.