Skip to content

Commit

Permalink
Decode var names before lookup and rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
zk committed Dec 22, 2016
1 parent aa8f856 commit f73dfe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/clojuredocs/pages/vars.clj
Expand Up @@ -111,7 +111,7 @@
(map #($arglist name %) arglists))]]]])

(defn var-page-handler [ns name]
(let [name (util/cd-decode name)
(let [name (util/cd-decode (util/url-decode name))
{:keys [arglists name ns doc runtimes added file] :as v} (lookup-var ns name)]
(fn [{:keys [user session uri]}]
(when v
Expand Down

0 comments on commit f73dfe4

Please sign in to comment.