lundi 13 novembre 2017

% is not going through POST request Laravel

I am using a form to pass a phone number which apparently will contain % since I have to use urldecode(), but this does not get posted it gives me this error

The requested resource /confirmation/(111)%20111-111 was not found on this server.

If I don't pass the % value it gets posted without any problem.

This is my form, I am using urldecode, because my API needs this format with % as above. No way out of it.

<form action="/confirmation/" method="POST"> 
      
      <input type="text" name="confirmationcode" required>
      <button>Submit</button>

Any ideas? How to solve this issue?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2yyJddk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire