Project

General

Profile

« Previous | Next » 

Revision 153f09b8

Added by Stephen Jones over 7 years ago

Fixed an issue where it was showing the escaped apostrophes on all info boxes. This will fix the issue of the javascript getting terminated in the ipsec status page in french. and not print it to the user

View differences:

src/usr/local/www/status_ipsec.php
577 577
				tryCount =3;
578 578
			}
579 579
			if (!response) {
580
				response = '<tr><td colspan="10"><?=print_info_box(gettext("No IPsec status information available."), "warning", "")?></td></tr>';
580
				response = '<tr><td colspan="10"><?=print_info_box(addslashes(gettext("No IPsec status information available.")), "warning", "")?>"</td></tr>';
581 581
			}
582 582

  
583 583
			$('#ipsec-body').html(response);

Also available in: Unified diff