@@ -132,7 +132,7 @@ |
||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | $this->rawUrl .= '://' . |
| 135 | - $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
|
| 135 | + $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
|
| 136 | 136 | $this->rawUrl .= utf8_decode(urldecode($_SERVER[ODataConstants::HTTPREQUEST_URI])); |
| 137 | 137 | } |
| 138 | 138 | |
@@ -469,7 +469,7 @@ |
||
| 469 | 469 | ODataConstants::HTTPQUERY_STRING_ORDERBY, |
| 470 | 470 | ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
| 471 | 471 | ODataConstants::HTTPQUERY_STRING_SELECT |
| 472 | - ] as $queryOption) { |
|
| 472 | + ] as $queryOption) { |
|
| 473 | 473 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
| 474 | 474 | if (!is_null($value)) { |
| 475 | 475 | if (!is_null($queryParameterString)) { |
@@ -430,7 +430,8 @@ |
||
| 430 | 430 | $resourceTypeKind, |
| 431 | 431 | $navigationProperties |
| 432 | 432 | ); |
| 433 | - } else { //This is the code path to handle projected properties of Entry |
|
| 433 | + } else { |
|
| 434 | +//This is the code path to handle projected properties of Entry |
|
| 434 | 435 | list($odataPropertyContent, $navigationProperties) = $this->writeObjectPropertiesExpanded( |
| 435 | 436 | $customObject, |
| 436 | 437 | $resourceType, |
@@ -570,7 +570,8 @@ |
||
| 570 | 570 | ); |
| 571 | 571 | $this->writeProperties($content); |
| 572 | 572 | $this->xmlWriter->endElement(); |
| 573 | - } else { //probably just a primitive string |
|
| 573 | + } else { |
|
| 574 | +//probably just a primitive string |
|
| 574 | 575 | $this->xmlWriter->startElementNs( |
| 575 | 576 | ODataConstants::ODATA_NAMESPACE_PREFIX, |
| 576 | 577 | ODataConstants::COLLECTION_ELEMENT_NAME, |
@@ -28,7 +28,8 @@ |
||
| 28 | 28 | throw new UrlFormatException(Messages::urlMalformedUrl($url)); |
| 29 | 29 | } |
| 30 | 30 | } else { |
| 31 | - if (!preg_match(self::REL_URL_REGEXP, $url)) { //TODO: this matches EVERYTHING!!! what's the intent here? see #77 |
|
| 31 | + if (!preg_match(self::REL_URL_REGEXP, $url)) { |
|
| 32 | +//TODO: this matches EVERYTHING!!! what's the intent here? see #77 |
|
| 32 | 33 | throw new UrlFormatException(Messages::urlMalformedUrl($url)); |
| 33 | 34 | } |
| 34 | 35 | } |