Config option for trailing slashes

This was also mentioned by another user: Config option for disabling trailing slashes