#285 ServletUnitHttpRequest.getScheme() returns "http" for secure

closed-fixed
None
5
2008-04-03
2005-03-17
Jeff Mills
No

When isSecure() returns 'true' I think getScheme()
should return "https". Changing:

public String getScheme() {
return "http";
}

to

public String getScheme() {
return isSecure() ? "https" : "http";
}

fixed some problems while testing my application.

Discussion

  • Wolfgang Fahl

    Wolfgang Fahl - 2008-04-03
    • assigned_to: nobody --> wolfgang_fahl
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks