Fix for incorrect test result links when project name contains spaces (ISSUE#1666).

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9224 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
dwdyer committed 2008-05-13 19:01:39 +00:00
1 parent a530ee960d
commit 910b3dae95
3 files changed
+7 -2

No files matched your search

+5
View File
@@ -733,7 +733,12 @@ public class Util {
* but don't remember it right now.
*
* @since 1.204
* @deprecated This method is broken (see ISSUE#1666). It should probably
* be removed but I'm not sure if it is considered part of the public API
* that needs to be maintained for backwards compatibility.
* Use {@link #encode(String)} instead.
*/
@Deprecated
public static String encodeRFC2396(String url) {
try {
return new URI(null,url,null).toASCIIString();