Sorry for the delay Felix. I ran the following php server to try to replicate the issue.
```
<?php
setcookie("somepath", "val", [
'expires' => time() + (86400 * 30), // 86400 = 1 day
'path' => '/some/path',
'secure' => true, // Change to true if you want the cookie to be sent only over secure HTTPS connections
'httponly' => true, // HttpOnly attribute
'samesite' => 'None' // Optional, for additional security
]);
setcookie("nopath", "val", [
'expires' => time() + (86400 * 30), // 86400 = 1 day
'path' => '/',
'secure' => true, // Change to true if you want the cookie to be sent only over secure HTTPS connections
'httponly' => true, // HttpOnly attribute
'samesite' => 'None' // Optional, for additional security
]);
?>
<!-- Serve me with `php -S localhost:8000` -->
<!DOCTYPE html>
Mostly empty content, this page sets cookies via http
```
And with both the currently nightly and an older version of fx 115 (though not the 117/118 you reported) the cookies were correctly set in the browser. But only the `nopath` cookie is sent when I navigate to `localhost:8000/`. While both cookies are sent when navigating to `localhost:8000/some/path`.
Can you confirm that this issue is resolved for you on a recent version of firefox?
If it is not resolved can you provide additional details about your setup that causes the issue with a minimal set of instructions to replicate?
Thanks!
Bug 1859444 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Sorry for the delay Felix. I ran the following php server to try to replicate the issue.
```
<?php
setcookie("somepath", "val", [
'expires' => time() + (86400 * 30), // 86400 = 1 day
'path' => '/some/path',
'secure' => true, // Change to true if you want the cookie to be sent only over secure HTTPS connections
'httponly' => true, // HttpOnly attribute
'samesite' => 'None' // Optional, for additional security
]);
setcookie("nopath", "val", [
'expires' => time() + (86400 * 30), // 86400 = 1 day
'path' => '/',
'secure' => true, // Change to true if you want the cookie to be sent only over secure HTTPS connections
'httponly' => true, // HttpOnly attribute
'samesite' => 'None' // Optional, for additional security
]);
?>
<!-- Serve me with `php -S localhost:8000` -->
<!DOCTYPE html>
Mostly empty content, this page sets cookies via http
```
And with both the current nightly (128) and an older version of fx 115 (though not the 117/118 you reported):
* the cookies were correctly set in the browser
* only the `nopath` cookie is sent when I navigate to `localhost:8000/`.
* While both cookies are sent when navigating to `localhost:8000/some/path`.
Can you confirm that this issue is resolved for you on a recent version of firefox?
If it is not resolved can you provide additional details about your setup that causes the issue with a minimal set of instructions to replicate?
Thanks!