Issue #452: Fix 500 error with `%` in `code`. (#453)
Issue #452: Fix 500 error with `%` in `code`. (#453)

* Issue #452: Fix 500 error with `%` in `code`.

* Issue #452: Revert the unnecessary change in `serializeState()`.

* encodeURI -> encodeURIComponent

dawnlabs/carbon