php - URI segment with . in it gets converted to _ -


हैलो हाय में यह समस्या है, मैं इस url को कॉल करता हूं:

  user_confirm / this.is .fake@gmail.com  

तब इसका उपयोग करें:

  प्रति ईमेल echo $ email = $ this- & gt; uri- & gt; सेगमेंट (3);  

और यह आउटपुट करता है:

  this_is_fake @ gmail_com  

क्यों?

p.s यह मेरी कॉन्फ़िग है:

  $ config ['allowed_uri_chars'] = 'a-z 0-9 ~%।: _ \ - @';   

धन्यवाद!

में सिस्टम / एप्लिकेशन / Config / config.php सेट:

  $ config ['uri_protocol'] = 'REQUEST_URI'; 


Comments