Fixed XSS in snippets generator
Fixed XSS in snippets generator

Under certain circumstances, parts of the client-supplied URL path would
be used in the "canonical" <link>, and no HTML-encoding was applied to
secure this, causing a reflected XSS vulnerability.

I have not been able to reproduce the exploit on my test environment,
but I have verified it on another system.

Calinou/bolt,one988/cm,winiceo/bolt,cdowdy/bolt,richardhinkamp/bolt,skript-cc/bolt,lenvanessen/bolt,hugin2005/bolt,rarila/bolt,pygillier/bolt,lenvanessen/bolt,marcin-piela/bolt,Eiskis/bolt-base,xeddmc/bolt,GawainLynch/bolt,HonzaMikula/bolt,Raistlfiren/bolt,rarila/bolt,kendoctor/bolt,nantunes/bolt,bolt/bolt,Intendit/bolt,GDmac/bolt,nantunes/bolt,richardhinkamp/bolt,bywatersolutions/reports-site,Eiskis/bolt-base,CarsonF/bolt,pygillier/bolt,marcin-piela/bolt,tekjava/bolt,pygillier/bolt,Intendit/bolt,romulo1984/bolt,richardhinkamp/bolt,joshuan/bolt,xeddmc/bolt,lenvanessen/bolt,GDmac/bolt,cdowdy/bolt,nikgo/bolt,HonzaMikula/masivnipostele,lenvanessen/bolt,cdowdy/bolt,marcin-piela/bolt,electrolinux/bolt,HonzaMikula/bolt,rarila/bolt,GDmac/bolt,joshuan/bolt,kendoctor/bolt,Raistlfiren/bolt,rossriley/bolt,Raistlfiren/bolt,CarsonF/bolt,bolt/bolt,Eiskis/bolt-base,nantunes/bolt,HonzaMikula/masivnipostele,romulo1984/bolt,bywatersolutions/reports-site,GawainLynch/bolt,codesman/bolt,Eiskis/bolt-base,romulo1984/bolt,marcin-piela/bolt,Calinou/bolt,nikgo/bolt,nikgo/bolt,Calinou/bolt,HonzaMikula/bolt,hugin2005/bolt,romulo1984/bolt,joshuan/bolt,one988/cm,skript-cc/bolt,GawainLynch/bolt,kendoctor/bolt,HonzaMikula/masivnipostele,bywatersolutions/reports-site,codesman/bolt,Calinou/bolt,cdowdy/bolt,hannesl/bolt,codesman/bolt,HonzaMikula/masivnipostele,skript-cc/bolt,hugin2005/bolt,rossriley/bolt,richardhinkamp/bolt,joshuan/bolt,skript-cc/bolt,CarsonF/bolt,hannesl/bolt,HonzaMikula/bolt,winiceo/bolt,rossriley/bolt,one988/cm,winiceo/bolt,nantunes/bolt,tekjava/bolt,bolt/bolt,Intendit/bolt,electrolinux/bolt,xeddmc/bolt,xeddmc/bolt,rossriley/bolt,Intendit/bolt,hannesl/bolt,hugin2005/bolt,nikgo/bolt,tekjava/bolt,CarsonF/bolt,tekjava/bolt,electrolinux/bolt,bolt/bolt,one988/cm,kendoctor/bolt,electrolinux/bolt,pygillier/bolt,GDmac/bolt,bywatersolutions/reports-site,hannesl/bolt,rarila/bolt,codesman/bolt,winiceo/bolt,Raistlfiren/bolt,GawainLynch/bolt