clojure.data.codec

Invalid input turns into null bytes

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Running something like:

(seq (clojure.data.codec.base64/decode (.getBytes "dl nd Znd;%;U=" "UTF-8")))
> (118 80 39 116 6 103 0 5)

Ideally clojure.data.codec throws or returns nil on bad input.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: