Here you can find the source of sanitizeCollabNetUrl(String url)
Parameter | Description |
---|---|
url | original url |
public static String sanitizeCollabNetUrl(String url)
//package com.java2s; public class Main { /**/*from w ww . ja v a 2 s .co m*/ * Sanitizes a CollabNet url and make it appropriate to be used by this plugin. * @param url original url * @return sanitized collabnet url */ public static String sanitizeCollabNetUrl(String url) { // strip the trailing "/" from the collabnet url, as this causes browser to log off session (artf51846) if (url != null && url.endsWith("/")) { url = url.substring(0, url.length() - 1); } return url; } }