Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524800 - app-text/wgetpaste-2.25-r2 does not generate correct raw url for bpaste.net
Summary: app-text/wgetpaste-2.25-r2 does not generate correct raw url for bpaste.net
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-10-09 07:28 UTC by Nuno Silva
Modified: 2014-10-09 15:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-text/wgetpaste-2.25-r2 patch to fix the bpaste.net raw URL regex (file_524800.txt,463 bytes, patch)
2014-10-09 07:31 UTC, Nuno Silva
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Silva 2014-10-09 07:28:41 UTC
wgetpaste uses regular expressions to generate raw URLs from the "regular" paste URL. In the case of bpaste (whose engine is named pinnwand in the code), the regex is not up to date, and "wgetpaste -r" ends up showing the "regular" paste URL.

Reproducible: Always
Comment 1 Nuno Silva 2014-10-09 07:31:14 UTC
Created attachment 386276 [details, diff]
app-text/wgetpaste-2.25-r2 patch to fix the bpaste.net raw URL regex

This patch fixes the raw URL regex for bpaste.net. I am not sure if this won't break anything else, but pinnwand seems to be used only for bpaste.net in the code.
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2014-10-09 15:49:00 UTC
Commited with revbump, thanks!