url-normalizer icon indicating copy to clipboard operation
url-normalizer copied to clipboard

Support ; as query string parameters in addition to &

Open glenscott opened this issue 10 years ago • 3 comments
trafficstars

glenscott avatar Sep 18 '15 18:09 glenscott

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 avatar Mar 26 '18 09:03 clxo

@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 avatar Mar 26 '18 14:03 glenscott

@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!

clxo avatar Mar 26 '18 15:03 clxo