Fix attachment upload link
Strip data URI prefix from base64 string
Redirect to bug after uploading an attachment