We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9adcd00 commit ae0f1d5Copy full SHA for ae0f1d5
src/clj_oauth2/ring.clj
@@ -115,7 +115,7 @@ create a vector of values."
115
"Returns true if this is a request to the callback URL"
116
(let [oauth2-url-vector (string/split (.toString (java.net.URI. (:redirect-uri oauth2-params))) #"\?")
117
oauth2-uri (nth oauth2-url-vector 0)
118
- oauth2-url-params (nth oauth2-url-vector 1)
+ oauth2-url-params (or (get oauth2-url-vector 1) "")
119
encoding (or (:character-encoding request) "UTF-8")]
120
(and (= oauth2-uri (request-uri request oauth2-params))
121
(submap? (keyify-params (parse-params oauth2-url-params encoding)) (:params request)))))
0 commit comments