[Geocoding] Found a potential fix for Issue #967

K Rahul Reddy k_rahul_reddy at outlook.com
Sun Mar 22 23:51:42 UTC 2020


Hi!

I have been going through various files to find where the tab space is 
being dropped. I found that the normalization works as expected and 
converts tab space to single space. But the final query phrase contained 
tab spaces. The reason is:

Geocode.php:532

     $sQuery = $this->sQuery;


When it is replaced with

    $sQuery = $sNormQuery;

all tab spaces and other white space character are replaced with single 
space.


Is there any reason why the initial line was used? Or is it safe to replace?


Regards,

Rahul




More information about the Geocoding mailing list