jonmak08/yui3 — pull request #12 by zxdgoal (2014-12-19 11:13:31+00:00)
Title: AUI-1823 Updating _concat so that we can construct uri correctly from th...

Hey @jonmak08

Currently, YUI cannot handle uri containing anchor tag when sending ajax request.

For example the uri YUI receives is http://localhost:8080/web/guest/test?p_p_id=20&#p_20.

The anchor is #p_20.

In the method of _contact, it simply appends data after this uri. So the result is something like http://localhost:8080/web/guest/test?p_p_id=20&#p_20¶meters.

As all the characters after # will be consider as an anchor, so the uri is constructed by mistake.

This causes the issue of [LPP-14470](https://issues.liferay.com/browse/LPP-14470).

The correct logic for constructing uri containing anchor tag is append it to the end of uri. So I re-write the method of _contract.

Please review this pr and let me know if you have any concerns.

Thanks
John.