Open lucasgonze opened 11 years ago
Actually the bug is in reset-all.sql:
insert into site (siteid,acct,sitename,domain,sitelogo,agentaddress,agentemail,agentname,agentphone,country)
values (1,1,'Etsy','1.etsy.com','http://latest.safeharbor.in/img/etsy.png','1 Infinite Hype Way\nPalo Alot CA 12345',
'lucas@gonze.com','Jane Doe Esquire','(800) 555-1212','Swaziland');
The \n is being auto-escaped there.
It's going to the DB as backslash backslash lowercase-n, \n. Or maybe coming back that way.
This causes the display in /bymail to be screwed up. See the address in http://localhost:5000/inbox/bymail/1