-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: file upload #23
Conversation
…user page writing malicious category
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
req.setAttribute("foodList", foodList); | ||
req.setAttribute("restaurant", restaurant); | ||
|
||
requestDispatcher.forward(req, resp); |
Check notice
Code scanning / SonarCloud
Exceptions should not be thrown from servlet methods Low
|
||
try { | ||
Gson gson = new Gson(); | ||
map = gson.fromJson(req.getReader(), mapType); |
Check notice
Code scanning / SonarCloud
Exceptions should not be thrown from servlet methods Low
try { | ||
resp.sendError(HttpServletResponse.SC_FORBIDDEN); | ||
} catch (IOException e) { | ||
throw new RuntimeException(e); |
Check notice
Code scanning / SonarCloud
Exceptions should not be thrown from servlet methods Low
File upload for food and restaurant