SShortSingh.
Back to feed

Full-width email addresses slipped past signup checks; fix normalizes input with NFKC

0
·1 views

A developer at RoamProxy found that a verification email bounced with a 422 error because the address used full-width characters, such as example.tech, instead of standard ASCII. The signup form and database accepted the address, so the mismatch only surfaced when the mail provider rejected it. The team now applies Unicode NFKC normalization at the input boundary to fold compatibility characters into plain ASCII, and rejects addresses that remain non-ASCII. The change covers both email signup and Google sign-in, since both pass through the same function. Non-ASCII addresses such as user@bücher.de are now rejected, because the mail provider cannot deliver to them anyway.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

LLM Agents Tested in Pokemon Showdown Battles, Research Post Shared

A research write-up examining how large language model agents perform when playing Pokemon Showdown, a competitive online Pokemon battle simulator, was shared on Hacker News. The post is hosted on the author Oliver Grabner's personal research page. The available material provides only the headline, a link, and a small amount of community engagement, with three points and no comments at the time of capture. Details about the specific methods, results, or conclusions of the agent experiments could not be confirmed from the information provided.

0
ProgrammingDEV Community ·

Blended AI visibility score of 29.2 masks sharp differences by question type

An author's daily AI citation tracker recorded a blended visibility score of 29.2 on 21 October, with each answer from two web-grounded models rated 0 to 3 for how well it identifies the tracked entity. Broken down by question type, the entity performed well when asked about the author by name (88.9%) but almost never came up in open genre questions (16.7% for genre recommendations and 0% for genre, comparison and research prompts). The blended figure was driven largely by how many prompts fell into each bucket, so changing the question mix alone would move the score without any change in model behaviour. The author also cautioned that buckets of four or fewer answers are too small to support trends, and that the 12.5-point gap between the two models amounts to just two fully correct answers on a single day. The author plans to pool a week of results per bucket before drawing comparisons.

0
ProgrammingDEV Community ·

Why Agencies Should Audit Domain Control When Clients Keep Registrar Accounts

Domain names underpin DNS, website traffic, email routing, and SSL certificate issuance, making them a critical point of failure. Agencies often manage websites for clients who keep their domains in personal or legacy registrar accounts they cannot administer. This arrangement leaves agencies responsible for uptime and security without control over the asset that keeps the site reachable. The article proposes a 'Broken Chain of Custody' audit to map administrative gaps, strengthen account security, and set contractual boundaries for domain-related outages. It notes that this is operational guidance rather than legal advice, and recommends attorney review of any contract language.

0
ProgrammingDEV Community ·

Troubleshooting Failed Batch Silent Installs of GBase Database Across Multiple Servers

When a silent installation of GBase Database (GBase 8s) fails on several servers in a batch rollout, the guidance is to pause remaining deployments to avoid spreading the problem. Administrators should record which nodes succeeded, failed, or were not yet processed, and avoid altering verified nodes without cause. One failed server should be re-run using the same response file and parameters, with full output and logs examined to find the first error. The article advises checking the response file's presence, integrity, and contents, comparing failing nodes with a known-good node, and looking for leftover files, port conflicts, and differing disk space. Fixes should be verified on the selected server before the rollout resumes.