Project

General

Profile

Actions

action #94901

closed

Simple validation of parameters on /tests/overview

Added by livdywan over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2021-06-29
Due date:
2021-07-22
% Done:

0%

Estimated time:

Description

Motivation

The tests overview page doesn't validate its input. Omitting the group leads to the site picking up some results from the entire db. Invalid values lead to server errors.

Examples:

Acceptance criteria

  • AC2: Request fails if invalid flavor is specified

Suggestion

  • Add parameter validation to lib/OpenQA/WebAPI/Controller/Test.pm for simple, obvious cases

Related issues 1 (1 open0 closed)

Copied to openQA Project (public) - action #95030: [easy][beginner] Better, complete validation of parameters on /tests/overviewNew2021-06-29

Actions
Actions

Also available in: Atom PDF