jenkinsci/jenkins — pull request #496 by lvotypko (2012-06-14 12:54:38+00:00)
Title: Fix UtilTest and replace ampersand in method encode too

I forgot change test class UtilTest. The test testRawEncode() fails due to my commit which avoids ampersand in url. I correct this test and add a test for ampersand encoding (it is the same as as UtilTest.testEncodeSpaces()), and modify encode() method to encode ampersand in the same way as space too.