Task: Prevent Forward Slash Escaping in PHP json encode()
Task: Prevent Forward Slash Escaping in PHP json encode(): a task in Terminal-Lego-15k (Harbor dataset). When using PHP's json encode() function, forward slashes ( / ) in strings are automatically escaped to \/ . This behavior can be problematic when working with URLs, as they become less readable…
The task
When using PHP's `json_encode()` function, forward slashes (`/`) in strings are automatically escaped to `\/`. This behavior can be problematic when working with URLs, as they become less readable (e.g., `http:\/\/example.com\/path` instead of `http://example.com/path`).
Part of PrimeIntellect/Terminal-Lego-15k.