Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox block my domain from download a file.

  • No replies
  • 1 has this problem
  • 1 view
more options

I have 2 local domains that is not exists in real domain. Example: 1. mydomain-localhost.com 2. mydomain.localhost

My HTML for testing is simple. ``` <a id="download-link" href="target-file.zip" download>Download</a> ```

When I try to download from mydomain-localhost.com, it used to be working fine but then blocked after editing some JS, PHP. And now it was blocked forever. Download window said "This file is not commonly downloaded."

But if I try to download from mydomain.localhost, it will be working fine. Both domain using same HTML and file location on Windows.

How to make Firefox unblock this testing domain that is only exists on my PC?

I have 2 '''local domains''' that is not exists in real domain. Example: 1. mydomain-localhost.com 2. mydomain.localhost My HTML for testing is simple. ``` <a id="download-link" href="target-file.zip" download>Download</a> ``` When I try to download from '''mydomain-localhost.com''', it used to be working fine but then blocked after editing some JS, PHP. And now it was blocked forever. Download window said "This file is not commonly downloaded." But if I try to download from '''mydomain.localhost''', it will be working fine. Both domain using same HTML and file location on Windows. How to make Firefox unblock this testing domain that is only exists on my PC?