New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not allow to download file via invisible link #263

Closed
cbxp opened this Issue Jan 4, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@cbxp
Contributor

cbxp commented Jan 4, 2016

<ul class="dropdown-menu" style="display: none">
  <a id="btn-export-pdf" href="/some/url/containing/pdf" target="_blank">
    Export to PDF
  </a>
</ul>

The following code runs successfully, but is expected to fail

File pdf = $("#btn-export-pdf").download();
@ddemin

This comment has been minimized.

Show comment
Hide comment
@ddemin

ddemin Jan 4, 2016

Contributor

See PR #264

Contributor

ddemin commented Jan 4, 2016

See PR #264

@asolntsev asolntsev closed this in 0c71b0b Jan 4, 2016

asolntsev added a commit that referenced this issue Jan 4, 2016

Merge pull request #264 from dimand58/master
Fix #263 Do not allow to download file via invisible link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment