emxsys / callattendant

A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi. Screens callers and block robocalls and scams with a low-cost Raspberry Pi and modem.
https://emxsys.github.io/callattendant/
MIT License
115 stars 37 forks source link

PHONE_DISPLAY_SEPARATOR set to blank (" ") causes problems #133

Open emxsys opened 3 years ago

emxsys commented 3 years ago

From a forum user:

I’ve found another small problem. Since I use a blank as the phone display separator I’m not able to use the trash can to delete items from the permitted list. In this case I think you need to make the phone number in the onclick action HTML safe and my blank would become %20 and change the action from ‘/callers/permitted/delete/07981 734697’ to ‘/callers/permitted/delete/07981%20734697’.

emxsys commented 3 years ago

Per user forum comment:

It seems to be a browser related issue. The script works with Firefox but not with Microsoft Edge (Version 87.0.664.41) based on Google chromium engine although using Chrome itself it also works. I’ve copied the HTML for the ‘permitted’ page and changed the separator in the onclick to %20 and then Edge does delete the number. I also changed the display separator to ‘-‘ and replaced the blank in the display format with a ‘-‘ and then the delete works in all browsers.

Me: I just loathe browser incompatibility issues. <sigh!>