Reply with error code when invalid parameters are given

Bug #1031523 reported by Christian Weiske
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libravatar (obsolete)
Confirmed
Medium
Unassigned

Bug Description

The size parameter is meant to be an integer between 1 and 512.

If a client requests a size of "1s2", the service should return a "400 Bad Request".

This should be both implemented and stated in the API spec.

Changed in libravatar:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → François Marier (fmarier)
tags: added: dynamicresizer rewrite
tags: added: dynamic-resize
removed: dynamicresizer
Changed in libravatar:
assignee: François Marier (fmarier) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.