code_junkie

Can I use commas in a URL?

Nov 11th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Foo.1.aspx
  2.  
  3. Foo.aspx?id=1
  4.  
  5. Foo.1,2,3,4,5.aspx
  6.  
  7. ~/products/view.aspx?id=1
  8. ~/products/category.aspx?type=beverage
  9.  
  10. ~/products/view/1
  11. ~/products/category/beverage
  12.  
  13. reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
  14. "$" | ","
  15.  
  16. Foo.1,2,3,4,5.aspx
  17.  
  18. Foo.aspx?id=1;id=2;id=3;id=4;id=5
  19.  
  20. Foo.1-2-3-4-5.aspx
  21.  
  22. index.aspx?c=Foo/1/2/3/4
Add Comment
Please, Sign In to add comment