Comment 0 for bug 1437286

Revision history for this message
Malin Bruland (malinkb) wrote : pastebinit

pastebinit dosen't return paste-ID-link when username is longer than 10 characters.

when username has 11 or more characters, you get this in return

http://paste.debian.net/

According to their webpage, I get this error when trying to manually paste something with my username

Could not add your entry to the paste database:

Invalid format for name (no special chars, max 10 chars)

when username has 10 or less characters, you get an actual paste in return:

http://paste.debian.net/163493/

the solution should be something like

if paste is paste.debian.net
    then username shoud be shortned to 10 characters, by deleting any character bigger than, or 11 characters.

A workaround for this, is to add the .pastebinit.xml file to the longusernameuser's home folder. Within the file, add this lines:

<pastebinit>
    <author>shorter-than-10-characters-name</author>
</pastebinit>