[openspending-dev] Illegal characters for widgets?
Stefan Wehrmeyer
stefan.wehrmeyer at okfn.org
Wed Apr 17 06:30:49 UTC 2013
Hi Adam,
when putting the node.name in the URL you have to do
encodeURIComponent(node.name)
It should be decoded correctly by $.url().param() then.
Cheers
Stefan
when getting
On 17.04.2013, at 04:14 , Adam Stiles <adam.d.stiles at gmail.com> wrote:
> Hi -- certain levels aren't displaying. Seems to be any time there is a colon or an ampersand in the entry. Are there any other known illegal characters? Is there a way to make these characters legal, or should I just find/replace them all?
>
> THANKS.
>
> For example:
>
> http://openbudgetoakland.org/oak11-13adopted.html?department=Community%20&%20Economic%20Development%20Agency
>
> http://openbudgetoakland.org/oak11-13adopted.html?department=Fire&unit=20814%20-%20Fire:%20Airport
>
> http://openbudgetoakland.org/oak11-13adopted.html?department=Fire&unit=20816%20-%20Fire:%20Support%20Services
>
>
>
>
>
> --
> Adam Stiles
> 510.280.4862
> _______________________________________________
> openspending-dev mailing list
> openspending-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/openspending-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/openspending-dev
--
Stefan Wehrmeyer
Projektleiter FragDenStaat.de
stefan.wehrmeyer at okfn.org
+49 151 15550559
Open Knowledge Foundation Deutschland e.V.
Gneisenaustr. 52
10961 Berlin
http://www.okfn.de
Spenden Sie für FragDenStaat.de:
https://fragdenstaat.de/hilfe/spenden/
More information about the openspending-dev
mailing list