src/POData/BaseService.php 1 location
|
@@ 799-805 (lines=7) @@
|
| 796 |
|
$comma = ','; |
| 797 |
|
} |
| 798 |
|
|
| 799 |
|
if (!is_null($eTag)) { |
| 800 |
|
// If eTag is made up of datetime or string properties then the above |
| 801 |
|
// IType::convertToOData will perform utf8 and url encode. But we don't |
| 802 |
|
// want this for eTag value. |
| 803 |
|
$eTag = urldecode(utf8_decode($eTag)); |
| 804 |
|
return rtrim($eTag, ','); |
| 805 |
|
} |
| 806 |
|
|
| 807 |
|
return null; |
| 808 |
|
} |
src/POData/ObjectModel/ObjectModelSerializerBase.php 1 location
|
@@ 236-242 (lines=7) @@
|
| 233 |
|
$comma = ','; |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
if (!is_null($eTag)) { |
| 237 |
|
// If eTag is made up of datetime or string properties then the above |
| 238 |
|
// IType::converToOData will perform utf8 and url encode. But we don't |
| 239 |
|
// want this for eTag value. |
| 240 |
|
$eTag = urldecode(utf8_decode($eTag)); |
| 241 |
|
return ODataConstants::HTTP_WEAK_ETAG_PREFIX . rtrim($eTag, ',') . '"'; |
| 242 |
|
} |
| 243 |
|
|
| 244 |
|
return null; |
| 245 |
|
} |