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

The example of curl in http://localhost:8080/api/jsonws for updating password is wrong

Details

    • 3
    • Windows 10

    Description

      Steps to reproduce:

      1. Add jsonws.web.service.paths.excludes= to portal-ext.properties
      2. Add a user, get its userId
      3. Change the password via http://localhost:8080/api/jsonws update-password
      4. Navigate to curl Example tab
      5. Check the curl example

      Actual result:
      There are single quotes in email address.

      curl http://localhost:8080/api/jsonws/user/update-password \
        -u [email protected]:test \
        -d userId=37894 \
        -d password1='test4' \
        -d password2='test4' \
        -d passwordReset=false

      Expected result:
      There aren't single quotes in email address or has a tip for Windows user.

      curl http://localhost:8080/api/jsonws/user/update-password \
        -u [email protected]:test \
        -d userId=37894 \
        -d password1=test4 \
        -d password2=test4 \
        -d passwordReset=false

      Attachments

        Activity

          People

            lu.liu Lu Liu
            lu.liu Lu Liu
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 1 week, 2 days ago

              Packages

                Version Package
                Master