You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With ray()->showHttpClientRequests(), URLs with query params with name starting with reg are incorrectly interpreted and displayed in Ray as the HTML registered trademark entity ® when they are not the first param.
This seems to be due to Ray interpreting ® in the URL as an HTML entity
For example, the query https://fubar.com?foo=bar®No=1 is displayed as https://fubar.com?foo=bar®No=1
EDIT:
The same error happens when calling ray->link(). Try ray()->link('https://fubar.com?foo=bar®No=1'); and you get the following screenshot
Versions
Ray version 2.8.1.0
spatie/ray package version: 1.41.2
spatie/laravel-ray package version (if applicable): 1.36.2
PHP version: 8.2
Laravel version: 11.10.0
To Reproduce
Steps to reproduce the behavior:
ray()->showHttpClientRequests();
Send an HTTP request with the query string ?foo=bar®No=1.
Expected behavior
To see the query string displayed in Ray as ?foo=bar®No=1.
Screenshots
Desktop (please complete the following information):
OS: Windows
Version 10
The text was updated successfully, but these errors were encountered:
Describe the bug
With
ray()->showHttpClientRequests()
, URLs with query params with name starting withreg
are incorrectly interpreted and displayed in Ray as the HTML registered trademark entity ® when they are not the first param.This seems to be due to Ray interpreting
®
in the URL as an HTML entityFor example, the query
https://fubar.com?foo=bar®No=1
is displayed ashttps://fubar.com?foo=bar®No=1
EDIT:
The same error happens when calling
ray->link()
. Tryray()->link('https://fubar.com?foo=bar®No=1');
and you get the following screenshotVersions
Ray version 2.8.1.0
PHP version: 8.2
Laravel version: 11.10.0
To Reproduce
Steps to reproduce the behavior:
ray()->showHttpClientRequests();
?foo=bar®No=1
.Expected behavior
To see the query string displayed in Ray as
?foo=bar®No=1
.Screenshots
![2024-06-19 11_47_32-Ray](https://private-user-images.githubusercontent.com/334791/341042284-07287802-9f59-413d-97aa-117b024853a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MDI1NTgsIm5iZiI6MTcyMTQwMjI1OCwicGF0aCI6Ii8zMzQ3OTEvMzQxMDQyMjg0LTA3Mjg3ODAyLTlmNTktNDEzZC05N2FhLTExN2IwMjQ4NTNhMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOVQxNTE3MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZTYzMTAxZDQxMTc3NTY0NTI1N2Q1ZmJiMWMyMmRhZWIwMzRlNjY5ZmFhOGI2ZGYzZjY2NDVlZjdlZjg3NTYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.j1CGlTup8L7zpPJRuG0rO4IRZ249RpD5aNWXWdrmXXo)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: