unlobito / skunk

Easy access to your store cards and other barcodes from your Pebble.
Other
29 stars 14 forks source link

Can't save percentage sign in settings #13

Closed ghost closed 8 years ago

ghost commented 9 years ago

For the types of bar code that does support percentage sign (%) it will not save the settings. If you try to save with a % in any of the input boxes, it just reverts to last saved state.

unlobito commented 9 years ago

Barcodes with % in the data field trigger the following error.

[INFO    ] Error: Skunk: URIError: URI error at line 35 in pebble-js-app.js

The JSON isn't being encoded properly before being handed off to the client.