Ipsilon API could validate inputs. #4923

Closed
opened 2015-10-12 22:33:55 +00:00 by ralph · 8 comments

Patrick asked me to file this here.

If you try to POST a login to ipsilon's openid provider API with username=None, it tracebacks and returns a 500 error.

Ideally, it would validate its inputs, notice that username was either absent or None, and would return a 400 error (indicating client error).

This can help speed up debugging efforts in the future.

Patrick asked me to file this here. If you try to POST a login to ipsilon's openid provider API with username=None, it tracebacks and returns a 500 error. Ideally, it would validate its inputs, notice that username was either absent or None, and would return a 400 error (indicating client error). This can help speed up debugging efforts in the future.

Patch to add the checks
0001-Ipsilon-API-validate-input.patch

Patch to add the checks [0001-Ipsilon-API-validate-input.patch](/fedora-infrastructure/issue/raw/files/fbb35c0d318881d47726d23004e72bb08bffc334a754dbb51f839b5d3a0dd644-0001-Ipsilon-API-validate-input.patch)

Patch that will fix this attached, and will be merged after freeze

Patch that will fix this attached, and will be merged after freeze

this is now merged into staging.

this is now merged into staging.
Owner

Is this in prod yet?

Is this in prod yet?

yes

yes

yes

yes
Owner

Great. Closing.

Great. Closing.
Owner

@kevin changed the status to Fixed

@kevin changed the status to ``Fixed``
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
infra/tickets#4923
No description provided.