You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeller should be looking for "referer" and "user-agent".
The text was updated successfully, but these errors were encountered:
mveytsman
changed the title
Ring middleware doesn't correctly parse referrer and user-agent
Ring middleware doesn't correctly parse referrer and user-agent headers
Feb 25, 2016
mveytsman
changed the title
Ring middleware doesn't correctly parse referrer and user-agent headers
Ring middleware doesn't correctly parse referer and user-agent headers
Feb 25, 2016
The yeller ring middleware looks for the keys
"Referer"
and"User-Agent"
in the request headers (https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/ring.clj#L6-L9)Ring actually lowecases the header names. See the spec here: https://github.com/mmcgrana/ring/blob/master/SPEC#L83-L86
Yeller should be looking for
"referer"
and"user-agent"
.The text was updated successfully, but these errors were encountered: