pastebinit on Debian don't give you paste.debian.net/id-number if username is longer than 10 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Triaged
|
Medium
|
Unassigned | ||
pastebinit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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
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://
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>
</pastebinit>
save and run pastebinit again
your username will be replaced with any word/name shorter or equal to 10 characters
tags: |
added: paste.debian.net removed: test |
tags: | added: pastebinit |
description: | updated |
summary: |
- pastebinit + pastebinit don't gives url with id link, when username contain 11 or + more characters |
summary: |
- pastebinit don't gives url with id link, when username contain 11 or - more characters + pastebinit on Debian don't give you paste.debian.net/id-number if + username is longer than 10 characters |
Changed in pastebinit: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in pastebinit (Ubuntu): | |
status: | New → Triaged |
Note that the username can also be replaced at the time of the paste with -a.
Anyway, a branch to implement the missing logic (ideally through configuration rather than an hardcoded check for paste.debian.net) would certainly be appreciated!