Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-4112

PSMC - Invalid File Format or Threat to System

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Platform
    • Labels:
      None
    • Module:
      Platform
    • Reported by:
      Support
    • Item State:
      Production Complete - Closed
    • Issue Importance:
      Must Have

      Description

      We are trying to upload the final documents into Learn About Your Benefits Income Protection and are receiving the below error message when trying to upload. Can you advise why we are receiving and if there is any way to get these added into Stage?

      Accident Silver Plan flier – can be titled “Accident Plan Flier”
      Critical Illness Protection plan flier – can be titled “Critical Illness Plan Flier”
      Critical Illness Protection Plan Summary – can be titled “Critical Illness Protection Plan Summary”

      Let us know

        Attachments

        1. image001.jpg
          image001.jpg
          18 kB
        2. image003.jpg
          image003.jpg
          6 kB

          Issue Links

            Activity

            Hide
            vijayendra Vijayendra Shinde (Inactive) added a comment -

            Concern: PSMC - Invalid File Format or Threat to System on Learn about Benefits

            Cause: While verifying mime type of uploaded file to scan threat to system, code returned memory address, which is greater than long datatype maximum limit. This thrown exception internally and returned with threat message.

            Correction: We have changed return type of variable from Long to IntPtr which will consider all memory pointer values without any limit.

            Show
            vijayendra Vijayendra Shinde (Inactive) added a comment - Concern: PSMC - Invalid File Format or Threat to System on Learn about Benefits Cause: While verifying mime type of uploaded file to scan threat to system, code returned memory address, which is greater than long datatype maximum limit. This thrown exception internally and returned with threat message. Correction: We have changed return type of variable from Long to IntPtr which will consider all memory pointer values without any limit.
            Hide
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment -

            Tested this on Upload EOI Document and Learn about your health benefits file being uploaded without any error even if we upload it multiple times.

            Show
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment - Tested this on Upload EOI Document and Learn about your health benefits file being uploaded without any error even if we upload it multiple times.
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the fix on Production by uploading test PDF documents under "Learn about Benefits" sections for HSPL company, no error is displaying. Closing the issue.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the fix on Production by uploading test PDF documents under "Learn about Benefits" sections for HSPL company, no error is displaying. Closing the issue.

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              rakeshr Rakesh Roy (Inactive)
              Developer:
              Vijayendra Shinde (Inactive)
              QA:
              Venkatesh Pujari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: