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

User portrait images not always shown because image tokens are not urlencoded properly

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.10 EE GA1
    • Fix Version/s: None
    • Component/s: Portal Services
    • Labels:

      Description

      In my environment (6.2.10 EE sp8) some of the user portrait images are not shown in the user's information pane (or anywhere using user.getPortraitURL (themeDisplay)) because image url is broken because of the not properly encoded img_id_token -parameter.

      Example of broken url:
      https://xxx/image/user_male_portrait?img_id=1234567&img_id_token=DYPaPpnDblS2Amd2tWM4V/+AjXY==

      whereas it should be:
      https://xxx/image/user_male_portrait?img_id=1234567&img_id_token=DYPaPpnDblS2Amd2tWM4V%2F+AjXY=

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 47 weeks, 4 days ago

                  Packages

                  Version Package