How do i use mod_rewrite to replace all '&' to another char
Source:

    /test/f=foo&bar&baz

Target:

    /test/f=foo,bar,baz

Please note that `f=foo&bar&baz` is *not* part of `QUERY_STRING`. I tried:

    RewriteRule ^(.*)&(.*)$ $1,$2
But it is resulting into:

    /test/f=foo&amp;bar,baz

I do not know where this `&amp;` coming from.

Thanks.
How do i use mod_rewrite to replace all '&' to another char
===

Source:

    /test/f=foo&bar&baz

Target:

    /test/f=foo,bar,baz

Please note that `f=foo&bar&baz` is *not* part of `QUERY_STRING`. I tried:

    RewriteRule ^(.*)&(.*)$ $1,$2
But it is resulting into:

    /test/f=foo&amp;bar,baz

I do not know where this `&amp;` coming from.

Thanks.