The Daily WTF

CodeSOD: This Router Says **** You

Denilson encountered an issue with a router's password field not working with password managers. He investigated the router's code and found it built with Vue, jQuery, and a minified MD5 function. The code included redundant jQuery versions and a function designed to refresh the page on F5, seemingly redundant. A lengthy, inefficient hexadecimal validation function was also discovered, highlighting poor code quality. The password field issue stemmed from invalid HTML, where multiple inputs shared the same ID. The router's custom password masking, implemented with JavaScript, caused compatibility problems. This resulted in the password managers failing to input the necessary credentials. The author reflects on the poor code quality, attributing it to networking engineers unfamiliar with web development. The author concludes that this type of coding is commonplace in home routers. The author then provides an advertisement.
favicon
thedailywtf.com
thedailywtf.com
Create attached notes ...