[php-src] Issue #11069: http value changed to https inside variable on SSL website
| From: | tidakdijual | Date: | Thu, 13 Apr 2023 22:05:41 +0000 |
| Subject: | [php-src] Issue #11069: http value changed to https inside variable on SSL website | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244191@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11069
Author: tidakdijual
### Description
The following code:
```php
<?php
$a = "http only site http://abc.com";
print_r($a);
```
Resulted in this output:
```
http only site https://abc.com
```
But I expected this output instead:
```
http only site http://abc.com
```
Only happen in SSL environment.
[only valid http url that change](https://imgur.com/a/neCQMg1)
### PHP Version
PHP 8.1.10
### Operating System
_No response_