-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLDR-14913 Revise VXML generation, further #4017
Conversation
-Remove obsolete admin-OutputAllFiles.jsp and related dead code -Shorten and simplify output; do not write strangely colored vxml xml rxml pxml -Set percent to 100, and status to READY, only if verification is successful -Use SpecialLocales.getType to skip generating locales such as mul_ZZ; still generate algorithmic locales -Use Logger instead of System.out; use at least Level.WARNING since Level.INFO is not displayed (for unknown reasons) -Do not log timing info that depended on deprecated ElapsedTimer -Fix compiler warnings and accept compiler-suggested refactoring -TODO comments
finalData = true; | ||
if (s.equals(VXML_PREFIX)) { | ||
WebContext ctx = new WebContext(request, response); | ||
response.sendRedirect(ctx.schemeHostPort() + ctx.base() + VXML_PREFIX + "/"); |
Check warning
Code scanning / CodeQL
URL redirection from remote source Medium
user-provided value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code isn't really new with this PR, it's just less indented
also doesn't really seem to depend on a user-provide value, though I'm not sure about that...
ctx.println("<a href='" + ctx.base() + "'>Return to SurveyTool</a><p>"); | ||
ctx.close(); | ||
} else if (!s.endsWith(XML_SUFFIX)) { | ||
response.sendRedirect(ctx.schemeHostPort() + ctx.base() + RXML_PREFIX + "/"); |
Check warning
Code scanning / CodeQL
URL redirection from remote source Medium
user-provided value
finalData = true; | ||
if (s.equals(TXML_PREFIX)) { | ||
WebContext ctx = new WebContext(request, response); | ||
response.sendRedirect(ctx.schemeHostPort() + ctx.base() + TXML_PREFIX + "/"); |
Check warning
Code scanning / CodeQL
URL redirection from remote source Medium
user-provided value
ctx.close(); | ||
} else if (!s.endsWith(XML_SUFFIX)) { | ||
WebContext ctx = new WebContext(request, response); | ||
response.sendRedirect(ctx.schemeHostPort() + ctx.base() + XML_PREFIX + "/"); |
Check warning
Code scanning / CodeQL
URL redirection from remote source Medium
-Remove obsolete admin-OutputAllFiles.jsp and related dead code
-Shorten and simplify output; do not write strangely colored vxml xml rxml pxml
-Set percent to 100, and status to READY, only if verification is successful
-Use SpecialLocales.getType to skip generating locales such as mul_ZZ; still generate algorithmic locales
-Use Logger instead of System.out; use at least Level.WARNING since Level.INFO is not displayed (for unknown reasons)
-Do not log timing info that depended on deprecated ElapsedTimer
-Fix compiler warnings and accept compiler-suggested refactoring
-TODO comments
CLDR-14913
ALLOW_MANY_COMMITS=true