Bug 15359 - protectURI is deprecated
: protectURI is deprecated
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.4.1
: Macintosh MacOS X 10.4
: -- minor (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-22 08:53 UTC by Daniel Barrett
Modified: 2009-12-22 08:54 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Barrett 2009-12-22 08:53:22 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)
Comment 1 Daniel Barrett 2009-12-22 08:54:00 UTC
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)
Comment 2 Daniel Barrett 2009-12-22 08:54:51 UTC
Whoops, just noticed these are for the third-party plugin "Synchronizer".
Never mind.