Hello,

I just ran into a little problem with the GSMimeParser in conjunction
with the authentication stuff in NSURL:
GSMimeParser's -scanToken: method returns nil if it scans an empty
quoted string, and this causes problems if a HTTP server announces an
empty realm for authentication because the corresponding
NSURLProtectionSpace is not created correctly.

The trivial fix is to return @"" instead of nil when scanning empty
strings, but I wanted to check whether there was a good reason for the
present behaviour.

Best regards,

Niels

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to