Skip Menu |

This queue is for tickets about the WWW-Netflix-API CPAN distribution.

Report information
The Basics
Id: 47201
Status: resolved
Priority: 0/
Queue: WWW-Netflix-API

People
Owner: davidrw [...] cpan.org
Requestors: christopher_guy_rhodes [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: (no value)



Subject: Double url encoding of application name causing netflix 401 error
My application name contains a space. This resulted in me getting a 401 error back form the netflix API: <status> <status_code>401</status_code> <message>Application name Mismatch </message> </status> my $application_name = $response->extra_params->{application_name}; I was able to hack the library and get it to work by url decoding the application name. my $application_name = $response->extra_params->{application_name}; $application_name =~ s/%([A-Fa-f0-9]{2})/pack('C', hex($1))/seg; $application_name =~ tr/+/ /;
This has been fixed in v0.10 and uploaded to CPAN.