[copr] master: [frontend][api] Bug 1194592 - User is able to submit directory (9e88498)