Hosts can be very long if they have placeholders (in templates) and this might not process correctly. So we replace the placeholders with short ones and rereplace them after processing.
This is safe as this is only done for templates and placeholder format is well understood.
Hosts can be very long if they have placeholders (in templates) and this might not process correctly. So we replace the placeholders with short ones and rereplace them after processing.
This is safe as this is only done for templates and placeholder format is well understood.
Added tests