| commit | 9b3e5c68b8e396a55589e2278ddb9bb72f2fa63f | [log] [tgz] |
|---|---|---|
| author | Martin Waitz <tali@admingilde.org> | Tue Mar 08 14:19:41 2016 +0100 |
| committer | Martin Waitz <martin.waitz@gmail.com> | Tue Mar 08 14:47:53 2016 +0000 |
| tree | f9bf4c3fff69fd57d7c3b00528081c6c7ce08fbd | |
| parent | 923ba5620b4ffe092f234a7d060eeb861fdb7b31 [diff] |
Support URLs with other parameters next to ${size}
The sizeParameter was just appended to the URL after a '?'.
This did not work when the URL itself already contained a '?'.
Now check for existing parameters and insert a '&' instead.
This way, we now support URLs of e.g.:
'/cgi-bin/avatar?uid=${user}&size=${size}'.
Change-Id: I10781a04eeec8bbe68451fab38942a0e305b27f4