Currently user_cookie_save() and user_cookie_delete() call setrawcookie() with the path hard coded to '/'
This will not work when you need to support multiple sites using different root directories. We need to change the path from '/' to base_path().

CommentFileSizeAuthor
#3 drupal-Cookie_base_path-2638970-3.patch886 bytesdcmease
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dcmease created an issue. See original summary.

cilefen’s picture

Is $cookie_domain no help here?

dcmease’s picture

The function user_cookie_save() doesn't use the variable $cookie_domain.