(file) Return to WebProcessor.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / WebServer

Diff for /pegasus/src/Pegasus/WebServer/WebProcessor.cpp between version 1.1.2.2 and 1.1.2.3

version 1.1.2.2, 2013/08/13 09:30:00 version 1.1.2.3, 2013/09/18 06:29:19
Line 478 
Line 478 
      */      */
     String webRoot = _webConfig.getWebRoot();     String webRoot = _webConfig.getWebRoot();
     String fullPath = (webRoot + fileName);     String fullPath = (webRoot + fileName);
     String resolvedPath = FileSystem::getAbsoluteFileName(fullPath);      String resolvedPath = FileSystem::getAbsoluteFileName(webRoot,fileName);
  
     if (FileSystem::isDirectory((const String&)resolvedPath))     if (FileSystem::isDirectory((const String&)resolvedPath))
     {// it is not allowed to access directories, error 403     {// it is not allowed to access directories, error 403


Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2