protect against overly long commit urls