custom url can now end with or without "/", issue #94