Getting error while calling a iRely Common method with valid file name

Issue No: IN-601
Created 7/6/2020 11:45:36 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-247781 - Getting error while calling a iRely Common method with valid file name|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-247781] Getting error while calling a iRely Common method with valid file name   Scenario:   * Customer will copy the files in the FTP server. * The files will be downloading and copying to the local server folder using Integration process. * Then the files XML content will be copying to a staging table in i21 using Integration process. * We are getting error while reading the files due to iRely.Common.Sanitize.ValidateFullPath method   Issue:   * Integration module calls the method iRely.Common.Sanitize.ValidateFullPath in all the file operations * Getting error "Contains invalid character or invalid extension in file name." while supplying the valid file name * Example: "D:\\Test\\Sample\\ *Test.XML* "   !pastedImage_d140343_0.png|height=340,width=1329!