When parameter passing, url parameter includes +, spaces, =, handling%, &, # special symbols, etc.

  1. url + parameters have a problem, space, =,%, &, #, and other special symbols to solve?  
  2. Solution:  
  3. These characters will be converted to the server can recognize characters, correspondence is as follows:  
  4. URL character escapes  
  5.   
  6. + URL in the +% 2B represents a space     
  7. Blank spaces in the URL can be encoded with a number or + 20%   
  8. / Separate directories and subdirectories% 2F       
  9. ? The actual URL and separate parameters% 3F       
  10. Specifies the special characters% 25%       
  11. # 23% expressed bookmark       
  12. % Delimiter between & URL specified parameters 26       
  13. =     The value of the specified parameter% 3D the URL  

Guess you like

Origin www.cnblogs.com/liuslayer/p/11792923.html