[ 
https://issues.apache.org/jira/browse/WICKET-6491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245842#comment-16245842
 ] 

ASF GitHub Bot commented on WICKET-6491:
----------------------------------------

Github user martin-g commented on a diff in the pull request:

    https://github.com/apache/wicket/pull/244#discussion_r149995282
  
    --- Diff: 
wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/wicket-ajaxdownload.js
 ---
    @@ -108,29 +108,32 @@
                                                var disposition = 
xhr.getResponseHeader("Content-Disposition");
                                                if (disposition) {
                                                        var matches = 
/filename[^;=\n]*=(([""]).*?\2|[^;\n]*)/.exec(disposition);
    -                                                   if (matches != null && 
matches[1]) {
    +                                                   if (matches !== null && 
matches[1]) {
    --- End diff --
    
    Strange that it didn't break the build due to `!=`.


> AjaxDownload is not working in blob mode for Microsoft browsers
> ---------------------------------------------------------------
>
>                 Key: WICKET-6491
>                 URL: https://issues.apache.org/jira/browse/WICKET-6491
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 8.0.0-M8
>            Reporter: Maxim Solodovnik
>            Assignee: Maxim Solodovnik
>
> AjaxDownload is not working in blob mode for Microsoft browsers
> Steps:
> 1) clone quickstart: https://github.com/solomax/ajax-download
> 2) run it using {{mvn clean jetty:run}}
> 3) open http://localhost:8080 in IE11 and Edge
> Results IE11:
> both blob downloads results: SCRIPT5: Access denied
> Results Edge:
> 1) Download Zip blob: XMLHttpRequest: Network Error 0x2efd, Could not 
> complete the operation due to error 00002efd.
> 2) Download Text blob: Name is not being set, file is saved as 
> 1FD327DF-29BC-4EC6-A2BA-F85384D62D1A
> IFrame downloads works as expected
> Will try to investigate



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to