# HG changeset patch # User nowmad@23.1.168.192.in-addr.arpa # Date 1449052913 -3600 # Node ID e3d3cd7a676ab8656faa39a6ba4584afb6d93f7f # Parent e0613cc29a30bee89458e41b92c738a732fb06d3 mark safe the url passed by the server to prevent django from sanitazing them (& -> &apm;) diff -r e0613cc29a30 -r e3d3cd7a676a client/gulpfile.js --- a/client/gulpfile.js Mon Nov 16 12:15:30 2015 +0100 +++ b/client/gulpfile.js Wed Dec 02 11:41:53 2015 +0100 @@ -165,8 +165,8 @@ tpl: 'Logo IRI' }, idExpo: 'idExpo: "{{ context.idExpo }}",', - ammicoUrl: 'ammicoUrl: "{{ context.ammicoUrl }}",', - searchUrl: 'searchUrl: "{{ context.searchUrl }}",', + ammicoUrl: 'ammicoUrl: "{{ context.ammicoUrl|safe }}",', + searchUrl: 'searchUrl: "{{ context.searchUrl|safe }}",', token: '{% if context.token %} token: "{{ context.token }}", {% endif %}' })) .pipe(plugins.rename('indexAmmico.html')) diff -r e0613cc29a30 -r e3d3cd7a676a server/ammicosrv/ammico/templates/indexAmmico.html --- a/server/ammicosrv/ammico/templates/indexAmmico.html Mon Nov 16 12:15:30 2015 +0100 +++ b/server/ammicosrv/ammico/templates/indexAmmico.html Wed Dec 02 11:41:53 2015 +0100 @@ -5,10 +5,10 @@ Ammico : Home - + - + - + - +