Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2421

REST APIv1 returns all Org Identities for case-sensitive query param

    XMLWordPrintable

Details

    Description

      Sending coId as a query param instead of lowercase coid returns all organizational identities instead of a 404.

      Example code :

      $I->sendGet('/org_identities.json?coid=4');
      $I->seeResponseCodeIs(HttpCode::NOT_FOUND);
      // correct

      $I->sendGet('/org_identities.json?coId=4');
      $I->seeResponseCodeIs(HttpCode::NOT_FOUND);
      // nope, returns all org identities instead of a 404

      Attachments

        Activity

          People

            tom.zeller.5@at.internet2.edu Tom Zeller
            tom.zeller.5@at.internet2.edu Tom Zeller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: