From 97ae6d2605fcd2f5f0141dbeae44625bf29682c8 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 27 Jan 2015 16:23:01 +0000 Subject: [PATCH] Bug 1090275 - WebServices modules should maintain a whitelist of methods that are allowed instead of allowing access to any function imported into its namespace - Fixed regression from erroneous cut and paste --- Bugzilla/WebService/Product.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm index 70f525909b..a350d5335a 100644 --- a/Bugzilla/WebService/Product.pm +++ b/Bugzilla/WebService/Product.pm @@ -30,12 +30,12 @@ use constant READ_ONLY => qw( get_selectable_products ); -+use constant PUBLIC_METHODS => qw( -+ get -+ get_accessible_products -+ get_enterable_products -+ get_selectable_products -+); +use constant PUBLIC_METHODS => qw( + get + get_accessible_products + get_enterable_products + get_selectable_products +); ################################################## # Add aliases here for method name compatibility # -- 2.47.3