airbnb / DeepLinkDispatch

A simple, annotation-based library for making deep link handling better on Android
http://nerds.airbnb.com/deeplinkdispatch/
4.37k stars 409 forks source link

Fix issues with long placeholders in hosts. #335

Closed rossbacher closed 2 years ago

rossbacher commented 2 years ago

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