allow trailing slashes with empty URL suffix

When the configured URL suffix for a site is empty, the generated URLs look like folder paths. Thus, trailing slashes should be ignored to meet user expectations of how folder paths work.