Comment 4 for bug 764397

Revision history for this message
Felix Geyer (debfx) wrote :

This affects maverick and natty. language-selector in <= lucid doesn't use policykit.

I don't think it's easily possible to verify if the language is installed on the system (for example LANGUAGE can contain multiple ":" seperated languages).
Instead it should only make sure that one cannot inject shell commands.
This regex should do that: ^[\w\.\-@:]+$