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 `!=`.
---