Socket
Socket
Sign inDemoInstall

qcobjects-cli

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcobjects-cli - npm Package Compare versions

Comparing version 0.1.37 to 0.1.38

21

backend/org.quickcorp.backend.php.js

@@ -47,6 +47,6 @@ /**

"REQUEST_METHOD":`${this.request.method}`,
"SCRIPT_FILENAME":`${this.request.scriptname}`,
"SCRIPT_NAME":`${this.request.scriptname}`,
"SCRIPT_FILENAME":`${this.scriptFilePath}`,
"SCRIPT_NAME":`${this.scriptFilePath.toString()}`,
"PATH_INFO":`${this.request.path}`,
"SERVER_NAME":`${this.request.hostname}`,
"SERVER_NAME":`${this.domain}`,
"SERVER_PROTOCOL":`HTTP/2`,

@@ -63,3 +63,6 @@ "REQUEST_URI":`${this.request.href}`,

var headervalue = this.request.headers[headername];
phpheaders['HTTP_'+phpheadername] = `${fixedEncodeURIComponent(headervalue)}`;
if (typeof headervalue != 'string'){
headervalue = JSON.stringify(headervalue);
}
phpheaders['HTTP_'+phpheadername] = fixedEncodeURIComponent(headervalue);
}

@@ -123,2 +126,4 @@ }

microservice.scriptFilePath = scriptFilePath;
var commandline = microservice.get_php_headers_list()+` php -d include_path="${PHPIncludePath}" -q <<- 'EOF'

@@ -128,2 +133,5 @@ <?php

foreach ($_SERVER as $_k => $_v) {
if (array_key_exists($_k,$_ENV)){
$_SERVER[$_k] = $_ENV[$_k];
}
if ( substr($_k, 0, strlen('HTTP_')) == 'HTTP_' ){

@@ -187,2 +195,4 @@ $_SERVER[$_k]=urldecode($_v);

microservice.scriptFilePath = scriptFilePath;
var commandline = microservice.get_php_headers_list()+` php -d include_path="${PHPIncludePath}" -q <<- 'EOF'

@@ -192,2 +202,5 @@ <?php

foreach ($_SERVER as $_k => $_v) {
if (array_key_exists($_k,$_ENV)){
$_SERVER[$_k] = $_ENV[$_k];
}
if ( substr($_k, 0, strlen('HTTP_')) == 'HTTP_' ){

@@ -194,0 +207,0 @@ $_SERVER[$_k]=urldecode($_v);

2

package.json
{
"name": "qcobjects-cli",
"version": "0.1.37",
"version": "0.1.38",
"description": "qcobjects cli command line tool",

@@ -5,0 +5,0 @@ "main": "qcobjects-cli.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc