Replaced the d= parameter with the new | character logic