Description
Traffic Server always rewrites URLs when it proxies them. The rewrite can be controlled by a configuration file or by code in a loadable plugin. The default URL rewriting code was duplicated for these two cases. This change removes the code duplication from the plugin rewrite case and simplifies the call site. It does not result in any change of behaviour.