Bug #9747

IPsec widget - Missing escape of domain backslash

Added by Sebastian Fiebig 9 months ago. Updated 5 months ago.

Very Low
Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:


The IPSec widget does not work as soon as one user, e.g., from a windows domain with a username like "domain\user" has logged in via IPSec. In this case the widget information just never renders the information on all three tabs, because an exception is thrown in JS. The problem is the non valid usage of a backslash in the username respectively the missing escaping.

The problem is introduced in and leads to an error with JSON.parse(s) here

I'm going to create a small pull request, that just fixes the backslash escaping at server side. I'm not a PHP expert, so there may be a better solution.


#2 Updated by Jim Pingle 9 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho 8 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • Target version set to 2.5.0
  • % Done changed from 0 to 100

PR has been merged. Thanks

#4 Updated by Jim Pingle 6 months ago

  • Target version changed from 2.5.0 to 2.4.5

#5 Updated by Jim Pingle 5 months ago

  • Subject changed from IPSec widget - Missing escape of domain backslash to IPsec widget - Missing escape of domain backslash
  • Status changed from Feedback to Resolved

No feedback from OP but the widget is working fine in general, so likely fixed.

Also available in: Atom PDF