Package jenkins.branch
Class NameEncoder
- java.lang.Object
-
- jenkins.branch.NameEncoder
-
public final class NameEncoder extends Object
Encodes names that are not nice so that they are safe to use as URL path segments. We don't want to do a full url encoding, only replace problematic names with%
escaped variants so that when double encoded by Stapler etc. we bypass issues.- Since:
- 2.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
decode(String name)
static String
encode(String name)
-