Bug 395543 - [Request] Provide referer for the External Downloader
Summary: [Request] Provide referer for the External Downloader
Status: RESOLVED FIXED
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-18 04:43 UTC by trmdi
Modified: 2018-06-18 10:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trmdi 2018-06-18 04:43:02 UTC
Some sites like: https://updato.com/firmware-archive-select-model?record=515ED299300B11E89F15FA163EE8F90B
(with the Download direct link in that page)

need the referer page to allow the user to be able to download the real file, otherwise they just send a html file to the user.

So, could you provide the **referer var** to the External downloader argument ?
Comment 1 The_assassin 2018-06-18 05:54:46 UTC
(In reply to idmresettrial from comment #0)

A sample example:

URL='https://fws03.updato.com/GALAXYJ7PRIME/SM-G610F/XME/SM-G610F_1_20180313092214_fzdm79ki3g_fac.zip'

REF="$(printf "${URL}" | cut -f1-3 -d'/')/"
Comment 2 trmdi 2018-06-18 10:12:51 UTC
(In reply to Moonchild from comment #1)
> (In reply to idmresettrial from comment #0)
> 
> A sample example:
> 
> URL='https://fws03.updato.com/GALAXYJ7PRIME/SM-G610F/XME/SM-
> G610F_1_20180313092214_fzdm79ki3g_fac.zip'
> 
> REF="$(printf "${URL}" | cut -f1-3 -d'/')/"

Nice.