Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Support providers to validate or checkup the domain or hostname #325

Closed
wants to merge 1 commit into from

3 participants

@bertoost

Support providers to validate or checkup the domain or hostname to validate the request! Very important information

Bert Oost Support providers to validate or checkup the domain or hostname to va…
…lidate the request! Very important information
27a833f
@Mark-H
Collaborator

Wouldn't a var of "http_host" make more sense instead of "domainhost"? I'd say we stick to the terms that we use for that bit of information already. :P

@bertoost

No big deal.. convidenced with your idea Mark!

@bertoost

Thank you Shaun! Much appriciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 11, 2012
  1. Support providers to validate or checkup the domain or hostname to va…

    Bert Oost authored
    …lidate the request! Very important information
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  core/model/modx/transport/modtransportprovider.class.php
View
1  core/model/modx/transport/modtransportprovider.class.php
@@ -59,6 +59,7 @@ public function request($path,$method = 'GET',$params = array()) {
'uuid' => $this->xpdo->uuid,
'database' => $this->xpdo->config['dbtype'],
'revolution_version' => $productVersion,
+ 'domainhost' => $this->xpdo->getOption('http_host')
),$params);
return $this->xpdo->rest->request($this->get('service_url'),$path,$method,$params);
}
Something went wrong with that request. Please try again.