[openspending-dev] Illegal characters for widgets?

Tryggvi Björgvinsson tryggvi.bjorgvinsson at okfn.org
Wed Apr 17 08:11:58 UTC 2013


Sorry Adam,

This was an oversight of mine. I've created a pull request with a fix
for you. Thanks for spotting it Stefan.

/Tryggvi

On mið 17.apr 2013 06:30, Stefan Wehrmeyer wrote:
> 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





More information about the openspending-dev mailing list