Better HN
topnewbestaskshowjobs
Log inSign up

_jg

172 karma · joined Oct 16, 2019 (7y ago) · 8 submissions

Submissions

comment 6y ago · link · parent

Should be: 'John@Gıthub.com'.toUpperCase() === 'John@Github.com'.toUpperCase()

comment 6y ago · link · parent

Our team at Wisdom has done the exact same. It's been confusing at times, but much better once we got going.

comment 6y ago · link · parent

This was a very real and demonstrated vulnerability. Perhaps I've misunderstood your comment.

comment 6y ago · link · parent

Unfortunately convention has normalised user expectations that email addresses are now case-insensitive. It's now a standard business requirement. Too bad few devs fully handle Unicode.

comment 6y ago · link · parent

Yes! Add in a toLowerCase() in there as well.

An apparently small deviation with surprisingly large repercussions.

6.

Hacking GitHub's Auth with Unicode's Turkish Dotless 'I'(eng.getwisdom.io ↗)

370 points · by _jg · 6y ago · 228 comments

7.

JS Console Logs: Putting Up the Christmas “Decorators".(js.getwisdom.io ↗)

1 points · by _jg · 6y ago · discuss