~roguescholar/ipxe/trunk

Viewing all changes in revision 5990.

  • Committer: Michael Brown
  • Date: 2021-07-01 15:32:46 UTC
  • Revision ID: git-v1:2690f730961e335875cac5fd9cf870a94eaef11a
[uri] Make URI schemes case-insensitive

RFC 3986 section 3.1 defines URI schemes as case-insensitive (though
the canonical form is always lowercase).

Use strcasecmp() rather than strcmp() to allow for case insensitivity
in URI schemes.

Requested-by: Andreas Hammarskjöld <junior@2PintSoftware.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: