← Back to team overview

touch-packages team mailing list archive

[Bug 1438046] [NEW] Can't download protected images

 

Public bug reported:

In the webbrowser app I login to a site (https://slack.com) which has
private image sharing.

Under every image there is a link, named 'Open original' that links to
the image itself (like https://files.slack.com/files-pri/T02A1MKNL-
F046U9A6V/img_20150328_103844.jpg).

But to see the image you've to login to the website.

So, when you try to download it (long press -> save image) the browser
calls the content hub, and indeed content hub saves
img_20150328_103844.jpg in ~/Pictures, but the file is an .html file,
and not the image, so the photo doesn't appear in the gallery app.

The first thing IMO is to display an error if the file isn't valid,
because it took me a while understand what was wrong with my dowload -
it says 'Success' but then my photo isn't in the gallery.

Then, there should be a way to download private resources from the web

** Affects: content-hub (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1438046

Title:
  Can't download protected images

Status in content-hub package in Ubuntu:
  New

Bug description:
  In the webbrowser app I login to a site (https://slack.com) which has
  private image sharing.

  Under every image there is a link, named 'Open original' that links to
  the image itself (like https://files.slack.com/files-pri/T02A1MKNL-
  F046U9A6V/img_20150328_103844.jpg).

  But to see the image you've to login to the website.

  So, when you try to download it (long press -> save image) the browser
  calls the content hub, and indeed content hub saves
  img_20150328_103844.jpg in ~/Pictures, but the file is an .html file,
  and not the image, so the photo doesn't appear in the gallery app.

  The first thing IMO is to display an error if the file isn't valid,
  because it took me a while understand what was wrong with my dowload -
  it says 'Success' but then my photo isn't in the gallery.

  Then, there should be a way to download private resources from the web

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1438046/+subscriptions


Follow ups

References