From: David Lawrence Date: Tue, 27 Jan 2015 16:23:01 +0000 (+0000) Subject: Bug 1090275 - WebServices modules should maintain a whitelist of methods that are... X-Git-Tag: bugzilla-4.0-stable~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97ae6d2605fcd2f5f0141dbeae44625bf29682c8;p=thirdparty%2Fbugzilla.git 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 --- 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 #