Project

General

Profile

Actions

Bug #460

closed

haproxy_global.php

Added by Alex Kolesnik over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/30/2010
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When applying global advanced passthru options, they're not being encoded properly.
Here is the patch:
--- /usr/local/www/haproxy_global.php.org 2010-03-30 03:42:14.000000000 0500
++ /usr/local/www/haproxy_global.php 2010-03-30 03:34:50.000000000 -0500
@ -79,7 +79,7 @
$config['installedpackages']['haproxy']['logfacility'] = $_POST['logfacility'] ? $_POST['logfacility'] : false;
$config['installedpackages']['haproxy']['loglevel'] = $_POST['loglevel'] ? $_POST['loglevel'] : false;
$config['installedpackages']['haproxy']['syncpassword'] = $_POST['syncpassword'] ? $_POST['syncpassword'] : false;
$config['installedpackages']['haproxy']['advanced'] = base64_encode($_POST['advanced']) ? $_POST['advanced'] : false;
$config['installedpackages']['haproxy']['advanced'] = base64_encode($_POST['advanced']) ? base64_encode($_POST['advanced']) : false;
$config['installedpackages']['haproxy']['nbproc'] = $_POST['nbproc'] ? $_POST['nbproc'] : false;
touch($d_haproxyconfdirty_path);
write_config();

Actions #1

Updated by Chris Buechler over 15 years ago

  • Status changed from New to Resolved

this is already fixed in haproxy-dev and haproxy-stable, the old haproxy will go away in the near future.

Actions

Also available in: Atom PDF