lib/carte/client/views/edit.cjsx in carte-server-1.0.8 vs lib/carte/client/views/edit.cjsx in carte-server-1.0.9
- old
+ new
@@ -51,10 +51,10 @@
@props.card = new CardModel()
@props.card._isNew = true
else
@props.onRequestHide()
@props.card.set 'title', @state.title
- location.hash = '/' + @state.title
+ location.hash = '/' + encodeURIComponent(@state.title)
else
@props.onRequestHide()
@props.card = new CardModel()
@props.card._isNew = true
error: (model, response, options)=>