Commit 350c698b authored by ThomasDumont's avatar ThomasDumont

LUTECE-2210 : fix error with path manipulation checking

parent 7a1274e5
......@@ -210,7 +210,7 @@ public class SystemJspBean extends AdminFeaturesPageJspBean
{
String strFilePath = AppPathService.getWebAppPath( );
if ( strFilePath != null && SecurityUtil.containsPathManipulationChars( request, strFile ))
if ( strFilePath != null && !SecurityUtil.containsPathManipulationChars( request, strFile ))
{
strFileData = getFileData( strFilePath + strDirectory + strFile );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment