broken links on dashboard for trimmed URLs
Fix #4531