[p2pu-dev] Usernames with a space in it

Dirk Uys dirk at p2pu.org
Mon Aug 13 09:22:36 UTC 2012


Hi Alex

I know about the usernames with spaces in it - sigh, I think it
happened some while ago and we are stuck with those usernames now.

I don't know why the API doesn't support the space. It may have
something to do with the regex we use to support URI's using the
username with tastyPi (the default is the user's primary key)

I'll look into this and let you know.

Cheers
d

On Fri, Aug 10, 2012 at 8:40 PM, Alexander Kehayias
<alex.kehayias at gmail.com> wrote:
> Bekka has a space in her username. This works:
> https://p2pu.org/en/Rebecca%20Kahn/
>
> But this does not:
> r =
> requests.get("https://p2pu.org/api/alpha/users/rebecca%20kahn?format=json")


More information about the p2pu-dev mailing list