Please sign in to comment.
Allow our govspeak helper to deal with partial URLs.
We were seeing an exception in production because someone had added a policy containing a partial URL in markdown, something like `[link text](http://)`. This was causing Addressable to fail with a "Absolute URI missing hierarchical segment" exception when it tried to parse the link. Given that our parsing only cares about finding valid admin links, I think we can safely ignore any invalid URLs.
- Loading branch information...
Showing with 16 additions and 1 deletion.