Issue with Calculator and spaces in Manufacturer names (Alfa Romeo and Land Rover)


#1

I ran into an issue when trying to share a calculation on an Alfa Romeo where spaces in the manufacturer name are not encoding properly and breaking the URL produced.

Example: leasehackr.com/calculator?make=Alfa Romeo&msrp=53000&sales_price=44000&months=36&mf=.0002&dp=0&doc_fee=80&acq_fee=595&taxed_inc=2750&untaxed_inc=0&rebate=0&resP=49&reg_fee=400&sales_tax=5&memo=&zero_driveoff=true&monthlyTax_radio=true&miles=12000&msd=0

I tried hacking it by adding an encoded space character %20 but while it fixed the link it didn’t work with the Calculator:

Easiest solution to just hyphenate the names?


#2

Thank you for letting us know! Will fix it ASAP!