HTTPSRedirect String Comparison does not match

If two strings look the same, but compare different, you either have

  1. spaces at the end
  2. a CR and/or a LF on one of the strings which doesn't compare