Skip to content
Permalink
Browse files

replace "MISSING:" with "MISSING-" to avoid MalformedUrlException whe…

…n digesting/diffing app with undefined variables (during build time) in appbase/latest.
  • Loading branch information...
e507802
e507802 committed Jul 2, 2019
1 parent e781803 commit 024d84ac2a28659e694334718f316e4dedc91933
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/com/threerings/getdown/data/Application.java
@@ -1147,7 +1147,7 @@ protected String resolveEnvVars (String text) {
Matcher matcher = ENV_VAR_PATTERN.matcher(text);
while (matcher.find()) {
String varName = matcher.group(1), varValue = System.getenv(varName);
String repValue = varValue == null ? "MISSING:"+varName : varValue;
String repValue = varValue == null ? "MISSING-"+varName : varValue;
matcher.appendReplacement(sb, Matcher.quoteReplacement(repValue));
}
matcher.appendTail(sb);

0 comments on commit 024d84a

Please sign in to comment.
You can’t perform that action at this time.