core, glpi, msc: Fix ajax url encoding issues