strip whitespace between permission urls

Quick fix for eliminating all white spaces in the permission urls, which can get ugly is not inserted correctly.