Bug 9814 - KohaAdminEmailAddress syspref webpage field doesn't handle double quotes
Summary: KohaAdminEmailAddress syspref webpage field doesn't handle double quotes
Status: RESOLVED DUPLICATE of bug 18727
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-14 03:49 UTC by wajasu
Modified: 2017-06-05 05:23 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wajasu 2013-03-14 03:49:01 UTC
With syspref KohaAdminEmailAddress, I use:
"The Library" <thelibrary@example.com>

but the double quotes mess up the display of the syspref page.
The app stores the value fine, but on retrieval it doesn't show.

Workaround:
The Library <thelibarary@example.com>      might be valid and work with same result.

The goal is to display a nice username instead of the raw email address.

I suspect the template is using double quotes, so one might need to properly escape the field.

This field is used as the From:  mail address when sending notices is the
branch details email is not set.
Comment 1 Marc Véron 2016-06-23 04:38:18 UTC
Still valid on current master. 

After entering something like "The Library" <thelibrary@example.com>, saving and refreshing the page, I get an empty field for KohaAdminEmailAddress, followed by some html snippet:
 	
Use [     ] " autocomplete="off" /> as the email address for the administrator of Koha.
Comment 2 Marc Véron 2017-06-05 04:40:35 UTC
Issue can be reproduced for more emails in system preferences: 
NoticeBcc, ReplytoDefault, PayPalUser...
Comment 3 Marc Véron 2017-06-05 05:23:22 UTC

*** This bug has been marked as a duplicate of bug 18727 ***