Skip to content
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

Bugfix KNOWAGE-8140 #878

Merged
merged 3 commits into from
Sep 11, 2023
Merged

Conversation

BojanSovticEngIT
Copy link
Contributor

Fixed files (all)

Fixed files (all)
knowage-core/src/main/java/it/eng/spagobi/commons/services/KnowageCaptchaServlet.java
Removed members
@BojanSovticEngIT BojanSovticEngIT marked this pull request as ready for review August 30, 2023 13:46
@davide-zerbetto davide-zerbetto added the security Security related issues label Sep 11, 2023
@davide-zerbetto davide-zerbetto merged commit eb94189 into KnowageLabs:master Sep 11, 2023
1 of 2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2023
public void init() throws ServletException {
super.init();

private boolean getSerializedSession() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok but pay attention: the init() method is called only once; that means that in the past the value was read only one time at the boot of the application from a source which let you know the value of a changeable configuration. The code was in strong contradiction as you can say: i think nobody knows what is the right way to manage that value. Anyway this is the less worse way to manage this, good job.

@@ -107,7 +107,7 @@
**/
public class BirtReportServlet extends HttpServlet {

private IReportEngine birtReportEngine = null;
// private IReportEngine birtReportEngine = null;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to delete commented code.

Copy link

@kerny3d kerny3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some fixes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security Security related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants