News for hackers. Stuff that matters.
Re:If your code accepts URIs as input, filter out “file://” by willvarfar on Monday September 12, 2016 @07:05AM (#12478676)
(Also be weary of imagetragick-type bugs too, where the URL starts innocuously and then contains some shellcode, because you pass the URL to something that'll paste it into system() call)
Re:If your code accepts URIs as input, filter out “file://” by throwanem on Monday September 12, 2016 @07:25AM (#12478759)
I certainly am weary of bug branding...
Re:If your code accepts URIs as input, filter out “file://” by nerdponx on Monday September 12, 2016 @08:40AM (#12479159)
I only started seeing this weary/wary misspelling in recent years. They don't sound alike, and they don't really look alike. Did cell phone spellcheckers give rise to this one?
Re:If your code accepts URIs as input, filter out “file://” by seszett on Monday September 12, 2016 @10:14AM (#12479820)
> /ˈwɪəɹi/

> /wɛəɹ.i/

I'm not a native English speaker and I would never have guessed that they were not pronounced the same. (I'm still not even sure how it is pronounced as ɪ doesn't seem to exist in French and I always considered the examples I find were just "i").

I know English pronunciation is generally weird, but seriously how can you expect wary to sound like wear while weary sounds like something else?

Re:If your code accepts URIs as input, filter out “file://” by Dylan16807 on Monday September 12, 2016 @01:55PM (#12481999)
"wear" is the word that's doing things wrong here.

Would "geary" and "gary" avoid the same mistake?

> seriously how can you expect

I can also question how you would expect two words that differ by their vowel to sound the same.

Re:If your code accepts URIs as input, filter out “file://” by willvarfar on Monday September 12, 2016 @08:54AM (#12479234)
'weary' means tired of something, 'wary' means cautious of something.
Re:If your code accepts URIs as input, filter out “file://” by barefootcoder on Monday September 12, 2016 @11:45AM (#12480683)
Because our language is a mashup of multiple other languages, and thus the rules are inconsistent.

As for pronunciation of those two:

weary is pronounced like "ear" wary is pronounced like "air"

Re:If your code accepts URIs as input, filter out “file://” by nerdponx on Monday September 12, 2016 @08:57AM (#12479257)
Right, and in the last year or so I've started to see people getting these terms confused.
Re:If your code accepts URIs as input, filter out “file://” by JadeNB on Monday September 12, 2016 @09:59AM (#12479694)
I think that this one:

> I certainly am weary of bug branding...

means exactly what it says: the poster is tired of, not apprehensive about, it.

EDIT: Oops, sorry, I guess you meant your grandparent's

> Also be weary of imagetragick-type bugs

For what it's worth, I have seen this as a genuine confusion, not typo, of non-native English speakers. (Think, for example, of 'compose' versus 'comprise', and even of 'who' versus 'whom', which neither sound nor look alike, but which are frequently confused even by native speakers.)

Re:If your code accepts URIs as input, filter out “file://” by willvarfar on Monday September 12, 2016 @08:06AM (#12478965)
I know, me too, but I didn't name it.

There's a section on the main page imagetragick.com talking about branding and how they got no traction without one.