Project

General

Profile

Actions

Bug #8765

closed
DJ RS

JWt 4.5.0 trustedProxies is null when initializing Configuration from a XML

Bug #8765: JWt 4.5.0 trustedProxies is null when initializing Configuration from a XML

Added by Daniel Jeronymo about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Roel Standaert
Category:
-
Target version:
Start date:
07/04/2021
Due date:
% Done:

100%

Estimated time:

Description

When initializing Configuration with a XML file this will call the XML constructor and the "trustedProxies" variable isn't initialized, eventually this will throw an exception at Configuration:966 "for (Network trustedProxy : trustedProxies)". This is a version breaking bug for whoever uses configuration files.

Fix is simple, change Configuration:185 to initialize the variable: "private List trustedProxies = Collections.emptyList();".

This variable initialization can then be removed from Configuration default constructor.

RS Updated by Roel Standaert about 5 years ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert

RS Updated by Roel Standaert about 5 years ago Actions #2

  • Status changed from InProgress to Review

RS Updated by Roel Standaert about 5 years ago Actions #3

  • Status changed from Review to Implemented @Emweb

RS Updated by Roel Standaert almost 5 years ago Actions #4

  • Status changed from Implemented @Emweb to Resolved
  • Target version set to 4.5.1
  • % Done changed from 0 to 100

RS Updated by Roel Standaert over 4 years ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom