url-normalizer
url-normalizer copied to clipboard
Support ; as query string parameters in addition to &
I also can't normalize urls with ";" as delimiter like this one, because the normalizer percent-encodes the semicolon:
https://www.xing.com/app/user?op=share;url=https%3A%2F%2Fwww.campana-schott.com%2Fde%2Fde%2F&title=Campana%20%26%20Schott%20-%20Deutschland&provider=
It would be great if you would support the semicolon delimiter as reserved character.
@clxo
Would be be useful if I included a setQuerySeparator method? e.g. you could do
$normalizer->setQuerySeparator(';');
This would be a simple addition for me. It'll be more complicated to auto-detect query string delimiters.
@glenscott It would not solve the case when the url includes both ";" and "&" as delimiter, but it would help for the first time!
Thank you!