Menu

#68 "https:" string check is case sensitive

current_version
open
wimpunk
None
5
2014-05-02
2014-05-01
No

Shouldn't this be made case insensitive?
$force_ssl = 1 if ($url =~ /^https:/);

Discussion

  • wimpunk

    wimpunk - 2014-05-02

    According to http://www.w3.org/TR/WD-html40-970708/htmlweb.html URL's are case sensitive:

    There may be URLs, or parts of URLs, where case doesn't matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive.

    So don't think it should be made case insensitive.

     
  • wimpunk

    wimpunk - 2014-05-02
    • assigned_to: wimpunk
     
  • Haakon Andre Hjortland

    Post awaiting moderation.

Log in to post a comment.