spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
554 stars 102 forks source link

Signed route in email is invalid #907

Closed 1stevengrant closed 1 month ago

1stevengrant commented 2 months ago

Describe the bug I'm using Ray to debug a Mailable.

The Mailable generates a signed route which then displays as a button in the email content.

Ray correctly shows the email, with the button and a link. However, the URL signature in Ray is wrong.

If I look at laravel.log the correctly signed URL shows and works fine when accessed directly.

The same Mailable also works just fine when I debug using HELO. Ray seems to be the culprit.

Versions Version 2.7.5 (2.7.5)

You can use composer show to get the version numbers of:

PHP version: 8.2.16 Laravel version (if applicable): 10.17.1

To Reproduce Steps to reproduce the behavior:

  1. Generate Mailable
  2. Create a signed URL for the Mailable
  3. Try send the Mailable to preview in Ray
  4. Click the signed URL link
  5. see invalid signature

Expected behavior Ray should show the correct link.

Desktop (please complete the following information):

1stevengrant commented 1 month ago

fixed in release 1.36.2 💪