Ticket #266 (closed defect: fixed)

Opened 3 years ago

Last modified 21 months ago

cql should check on parmeters./

Reported by: MC-arjen Owned by:
Priority: major Milestone: MediaMosa 3.0
Component: CQL Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description

In MM1.7 there is no cql parameter checking. fix and test this in MM2.

for example: /asset?granted=true&is_public_list=true&hide_empty_assets=true&cql=+sortby+rating%2Fsort.descending&limit=3&offset=0

should not use the parameter rating.

Change History

Changed 2 years ago by Frans

  • milestone changed from MediaMosa X.X to MediaMosa 2.4

Changed 2 years ago by Frans

  • status changed from new to closed
  • resolution set to fixed

Invalid parameters will result in an error nowadays.
Fixed in 2.2

Changed 21 months ago by forgacs

App_id = 1
/asset?granted=true&is_public_list=true&hide_empty_assets=true&cql=+sortby+rating%2Fsort.descending&limit=3&offset=0

<request_result_description>MediaMosa - sorting on 'rating' is not allowed</request_result_description>

Changed 21 months ago by Michiel.Schok

  • tested changed from no to yes
  • accepted changed from no to yes

This is already standard behaviour in current production release.

Note: See TracTickets for help on using tickets.