Your message dated Fri, 11 Feb 2011 19:09:06 +0000
with message-id <[email protected]>
and subject line Re: oops...
has caused the Debian Bug report #535095,
regarding lastfmsubmitd fails to authenticate usernames with spaces
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
535095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535095
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lastfmsubmitd
Version: 1.0.5-1
Severity: normal


lastfmsubmitd fails to authenticate usernames with spaces, because it replaces
the blank spaces with '_' instead of '%20'.

In my case, it should try to use
http://turtle.libre.fm/?hs=true&c=lsd&v=0.33&u=mind%20booster%20noori&p=1.1
and is trying 
http://turtle.libre.fm/?hs=true&c=lsd&v=0.33&u=mind_booster_noori&p=1.1
(thus getting a BADUSER).

Patch to fix this issue follows:

--- lastfmsubmitd.orig  2009-06-29 17:43:41.000000000 +0100
+++ lastfmsubmitd       2009-06-29 17:44:13.000000000 +0100
@@ -137,7 +137,7 @@
             'p': PROTOCOL_VERSION,
             'c': CLIENT_ID,
             'v': CLIENT_VERSION,
-            'u': self.cli.conf.user,
+            'u': urllib.quote(self.cli.conf.user),
             }
         return '?'.join([self.cli.conf.url, urllib.urlencode(args)])

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-bpo.2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lastfmsubmitd depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-support                1.0.3      automated rebuilding support for P

lastfmsubmitd recommends no packages.

Versions of packages lastfmsubmitd suggests:
pn  ears                          <none>     (no description available)

-- debconf information:
* lastfmsubmitd/user: Mind Booster Noori
* lastfmsubmitd/spool_group: lastfm
  lastfmsubmitd/no_lastmp:


Best Regards,
-- 
Marcos Marado



--- End Message ---
--- Begin Message ---
Closing (explained in the previous e-mail)


--- End Message ---

Reply via email to