[odrs-web/production] trivial: Remove app-id whitelisting on .desktop



commit 200b15c4afdaf2b5cdb925374d036a385de0dbcc
Author: Richard Hughes <richard hughsie com>
Date:   Fri Feb 23 11:26:30 2018 +0000

    trivial: Remove app-id whitelisting on .desktop

 app/views.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/views.py b/app/views.py
index 79df844..4ed4879 100644
--- a/app/views.py
+++ b/app/views.py
@@ -221,8 +221,6 @@ def submit():
         return json_error('the user_hash is invalid')
 
     # check fields for markup and length
-    if not item['app_id'].endswith('.desktop'):
-        return json_error('only applications can be reviewed at this time')
     if len(item['summary']) > 70:
         return json_error('summary is too long')
     if len(item['description']) > 3000:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]