if param value will have extra = the value will be truncated, e.g. key=val=ue. It's better to use indexOf here