The following will need to change to use the mangler api:
https://github.com/jenkinsci/blueocean-display-url-plugin/blob/master/src/main/java/org/jenkinsci/plugins/blueoceandisplayurl/BlueOceanDisplayURLImpl.java#L65