Skip to content

Commit

Permalink
Fixed bug appearing on android. Thanks to Vibhu Mohindra (vibhu.mohin…
Browse files Browse the repository at this point in the history
…dra@gmail.com)
  • Loading branch information
html committed Jun 16, 2014
1 parent a4dc18b commit aea6764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/request.lisp
Expand Up @@ -25,7 +25,8 @@ if there is an action involved (even if the user hits refresh)."
"Detects if the current request was initiated via AJAX by looking
for 'X-Requested-With' http header. This function expects to be called
in a dynamic hunchentoot environment."
(header-in* "X-Requested-With"))
(and (header-in* "X-Requested-With")
(equal "XMLHttpRequest" (header-in* "X-Requested-With"))))

(defun pure-request-p ()
"Detects if the current request is declared as 'pure', i.e. affects
Expand Down
2 changes: 1 addition & 1 deletion weblocks.asd
Expand Up @@ -8,7 +8,7 @@

(defsystem weblocks
:name "weblocks"
:version "0.10.15"
:version "0.10.16"
:maintainer "Olexiy Zamkoviy, Scott L. Burson"
:author "Slava Akhmechet"
:licence "LLGPL"
Expand Down

0 comments on commit aea6764

Please sign in to comment.