Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9019

Fix malformed url when OAuth callback URL already holds query parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.6.0-HF13, 5.7.1
    • Component/s: Web Common

      Description

      When an OAuth callback URL is given with query parameters, NuxeoOAuthFilter returns a malformed url.
      If you give an Url like http://myhost/callback.php?my_arg=1
      You'll get:
      http://myhost/callback.php?my_arg=1?oauth_token=NX-RT-...
      instead of:
      http://myhost/callback.php?my_arg=1&oauth_token=NX-RT-...

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h