Special character escape encoding character in URL URL-URL encoded value space-%20 "-%22#-%23%-%25&-%26 (-%28)-%29+-%2b,-%2c/-%2f:-%3a; -%3b<-%3c=-%3d>-%3e? -%3f@-%40\-%5c| -%7c URL special character escapes the special meaning of some characters in the URL, the basic encoding rules are as follows: 1, spaces replaced by plus (+) 2, forward slash (/) delimited directory and subdirectory 3, question mark (?) Separating URLs and queries 4, percent sign (%) make special characters 5, #号指定书签6, & separated parameters if needed in the URL, you need to change these special characters to the corresponding hexadecimal value +%2b/%2f?%3f%%25#%23&% 26 due to the frequent use of Ajax in the project to send SQL to the backend server will encounter select Num+1 from dual or left and right connection form. Always throw away (+) This time can try to use the URL special character escape with JS encodeURI () function or directly to the corresponding hexadecimal value to see the online introduction encodeURI function is also said URI escape
Special character escaping encoding in URL URLs