Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-43542

User's picture doesn't always appear if passwords.digest.encoding=base64

    Details

      Description

      Reproduction steps:

      1. Please check that 'passwords.digest.encoding=base64' in portal-ext.properties. It's default value is 'base64'
      2. Log in to portal instance.
      3. Go to My Account page
      4. Click on the Picture's Change button and upload a correct image.
      5. Save and close Upload Image panel.
      6. Save account settings.

      Actual result: So in some cases(if the generated 'image_id_token' contains '+' character) uploaded image won't appear.

      Expected result: Uploaded image always appears.

      Note: LPS-40221 introduced a new parameter = 'image_id_token'. If 'passwords.digest.encoding=base64' then the generated image_id_token can contain '+' character. In this case this value won't be url safe.

        Attachments

        1. 62failed.jpg
          62failed.jpg
          185 kB
        2. 62failed_steps.gif
          62failed_steps.gif
          2.66 MB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 32 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1