Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 524800

Summary: app-text/wgetpaste-2.25-r2 does not generate correct raw url for bpaste.net
Product: Gentoo Linux Reporter: Nuno Silva <njsg>
Component: Current packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED FIXED    
Severity: normal CC: maksbotan
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-text/wgetpaste-2.25-r2 patch to fix the bpaste.net raw URL regex

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!