Report template validation. Fixed error when getting permissions for resources with spaces (double encoded url)