johnrajbd / bots

Automatically exported from code.google.com/p/bots
0 stars 0 forks source link

Improve: 'strange characters' like ëë in routeID, channelID, etc #300

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
- Scripts for Route, channel, partners should be importable by python.
- display in GUI should be OK
- etc

Original issue reported on code.google.com by hjebb...@gmail.com on 17 Mar 2014 at 5:05

GoogleCodeExporter commented 8 years ago
maybe related to this: I have routes with '&' characters, could not run them 
individually from the run menu (when using menu_all_routes).

Solution is to use urlencode filter in templates/bots/menu.html line 82
This encodes & to %26 instead of &

  <li><a href="/runengine/?clparameter={{ route|urlencode:'' }}" >{{ route }}</a></li>

Original comment by mjg1964 on 28 Mar 2014 at 5:12

GoogleCodeExporter commented 8 years ago

Original comment by hjebb...@gmail.com on 10 Sep 2014 at 2:56