Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
interface/web/dns/dns_dkim_get.php
@@ -28,15 +28,15 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
* This script is invoked by interface/web/dns/templates/dns_dkim_edit.htm
* when generating the DKIM Private-key.
*
* return DKIM Public-Key for the DNS-record
*/ 
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -49,12 +49,12 @@
header('Content-Type: text/xml; charset=utf-8');
header('Cache-Control: must-revalidate, pre-check=0, no-store, no-cache, max-age=0, post-check=0');
/**
* This function fix PHP's messing up POST input containing characters space, dot,
* open square bracket and others to be compatible with with the deprecated register_globals
* @return array POST
*/
function getRealPOST() {
    $pairs = explode("&", file_get_contents("php://input"));
    $vars = array();
@@ -67,6 +67,7 @@
    return $vars;
}
/**
* This function formats the public-key
* @param array $pubkey