renoki-co / laravel-php-k8s

Just a simple port of renoki-co/php-k8s for easier access in Laravel
Apache License 2.0
86 stars 7 forks source link

[bug] Exec URL is not encoded properly #16

Closed muratcakmakjengal closed 2 years ago

muratcakmakjengal commented 2 years ago

$pod->exec(['/bin/sh', '-c', "cd project/jengal && php artisan page-cache:clear $slug"]); Because problem is this '&' char. My solution : url encode && = %26%26 You can maybe general fix :)

rennokki commented 2 years ago

Please let me know if there are any other issues. 👍

muratcakmaksoftware commented 2 years ago

Please let me know if there are any other issues. 👍

of course😄If I see any problem, I will inform you 😄👍