Fix Brakeman warnings for DoS

Description

Fix the DoS Brakeman warnings.

Nothing should change and our test suite should pick any issues up I hope.

Environment

None

Status

Assignee

james_

Reporter

james_

Roadmap

Misc

Priority

Medium

Affects versions

Fix versions

None

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9
Configure