Do not allow to download file via invisible link #263

cbxp opened this Issue Jan 4, 2016 · 1 comment


None yet

2 participants

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

The following code runs successfully, but is expected to fail

File pdf = $("#btn-export-pdf").download();
dimand58 commented Jan 4, 2016

See PR #264

@asolntsev asolntsev closed this in 0c71b0b Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment