WeSearch

Applied for a job and found an edge case in their code they had not covered

·2 min read · 0 reactions · 0 comments · 10 views
#webdev#coding#urlencoding
Applied for a job and found an edge case in their code they had not covered
⚡ TL;DR · AI summary

A job applicant encountered an edge case in a company's code related to URL encoding. The issue arose when the applicant's email, which included a plus sign, was sent as a query parameter, causing an error. After correcting the URL by encoding the plus sign, the applicant was able to schedule an interview successfully.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 473910) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Patrick Wendo Posted on May 19 Applied for a job and found an edge case in their code they had not covered #urlencoding #webdev I applied to a company for developer role. However, when I usually apply for jobs I usually add the company name to my email. For instance [email protected] becomes [email protected]. Totally valid way to keep track of who perhaps leaked your email.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)