• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with getScheme()  RSS feed

 
nandan johri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting a strange error .
The request.getScheme() is returning "https:" instaead of returning https .
I have earlier in the past seen that getScheme() is returning http instead of https or vice versa but dont know why its returning https:

If any one has come across the above situation please let me know .
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by nandan johri:

request.getScheme() is returning "https:" instaead of returning https


Are you worried about the ":" at the end ?
 
nandan johri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to know why am i geting : at the end ... i can writes a code to checkfor that and fix it but am just curious
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!