ruprict/jQuery.agsLegend — pull request #1 by baens (2012-07-19 18:59:42+00:00)
Title: Fix an issue with the when urls are for token services.

The secured token services already have a token parameter appended at the end of the url. AgsLegend appends more parameters to use jsonp request to the url later on, and this screws up the legend request URL. This changes the url handling to make sure that the url's parameters are preserved and appended correctly.