Skip to content

Can't download if Referer Empty #30

@matdave

Description

@matdave

Line 96 of the snippet is

$dl->set('referer',$_SERVER['HTTP_REFERER']);

However, some user agents can leave that field empty, which prevents downloading. It needs a fallback for when their's no referrer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions