Hi,

A few accounting-style parsing scripts here at uni are breaking because
there's a few ad-programs which try authenticating with a blank username.

I poked Robert about it, he thinks a blank username should just be logged
as -. Obviously the auth attempt fails.

(I don't knwo whether its a bug or an intended behaviour. Hm.)

Anyway, here's the one line patch:

-       user1 ? user1 : dash_str,
+       user1 ? (user1[0] == '\0' ? dash_str : user1) : dash_str,

What do people think?




Adrian

Reply via email to