Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

encodeURL vs encodeRedirectURL

 
Priya Bindra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between the two? what are the two scenarios when each is used?
 
Kosala W.Abayagunawardene
Ranch Hand
Posts: 47
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
encodeURL-vs-encodeRedirectURL
 
Priya Bindra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need more explanation. could not understand from this discussion.
 
Ankit Garg
Sheriff
Posts: 9580
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I remember, there's no change in the implementation of both methods in Tomcat. The specs say that encodeRedirectURL should be to encode URLs within sendRedirect method, but other than that I don't think implementations for both methods differ in practical life...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic