Skip to content

Fix ActionView::Template::Error: Absolute URI missing hierarchical segment

What does this MR do?

We can receive an uncaught exception, Addressable::URI::InvalidURIError: Absolute URI missing hierarchical segment: , when we modify the autolink url to remove punctuation, and that itself causes an invalid URI.

We now catch the exception and do not autolink it.

An example of this from a recent issue is

http://[Server]:[WC_defaulthost port for client server]/[client-name]/xxx/index.jsp

What are the relevant issue numbers?

Closes #57227 (closed)

Does this MR meet the acceptance criteria?

Edited by Brett Walker

Merge request reports