Livesearch: ensure file extension even when using form's action