Bugzilla – Bug 15359
protectURI is deprecated
Last modified: 2009-12-22 08:54:51 UTC
Seen in my Squeezebox Server logs on restart: [09-12-22 11:40:20.0983] Slim::Web::HTTP::protectURI (2436) Error: Slim::Web::HTTP::protectURI() is deprecated - please use Slim::Web::HTTP::CSRF->protectURI() instead [09-12-22 11:40:20.0989] Slim::Web::HTTP::protectURI (2436) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Web/HTTP.pm line 2436) frame 1: Slim::Web::HTTP::protectURI (/Users/lisa/Library/Application Support/Squeezebox/Plugins/Synchronizer/Settings.pm line 25) frame 2: Plugins::Synchronizer::Settings::page (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Web/Settings.pm line 63) frame 3: Slim::Web::Settings::new (/Users/lisa/Library/Application Support/Squeezebox/Plugins/Synchronizer/Plugin.pm line 93) frame 4: Plugins::Synchronizer::Plugin::initPlugin (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/PluginManager.pm line 323) frame 5: (eval) (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/PluginManager.pm line 323) frame 6: Slim::Utils::PluginManager::load (./slimserver.pl line 501) frame 7: main::init (./slimserver.pl line 572) frame 8: main::main (./slimserver.pl line 1065)
Likewise for protectName: [09-12-22 11:40:20.0953] Slim::Web::HTTP::protectName (2441) Error: Slim::Web::HTTP::protectName() is deprecated - please use Slim::Web::HTTP::CSRF->protectName() instead [09-12-22 11:40:20.0960] Slim::Web::HTTP::protectName (2441) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Web/HTTP.pm line 2441) frame 1: Slim::Web::HTTP::protectName (/Users/lisa/Library/Application Support/Squeezebox/Plugins/Synchronizer/Settings.pm line 21) frame 2: Plugins::Synchronizer::Settings::name (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Web/Settings.pm line 55) frame 3: Slim::Web::Settings::new (/Users/lisa/Library/Application Support/Squeezebox/Plugins/Synchronizer/Plugin.pm line 93) frame 4: Plugins::Synchronizer::Plugin::initPlugin (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/PluginManager.pm line 323) frame 5: (eval) (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/PluginManager.pm line 323) frame 6: Slim::Utils::PluginManager::load (./slimserver.pl line 501) frame 7: main::init (./slimserver.pl line 572) frame 8: main::main (./slimserver.pl line 1065)
Whoops, just noticed these are for the third-party plugin "Synchronizer". Never mind.