Opened 6 years ago
Closed 6 years ago
#1484413 closed Bugs (fixed)
Wrongful addition of "@" to username
| Reported by: | bpat1434 | Owned by: | till |
|---|---|---|---|
| Priority: | 5 | Milestone: | |
| Component: | Core functionality | Version: | git-master |
| Severity: | normal | Keywords: | username domain |
| Cc: |
Description
Symptoms
- The username used to log into server is automatically appended with "@" symbol, but no domain when using multi-server environment.
- The user cannot log on due to erroneous "@" character in username.
- User would otherwise be logged on without the "@" character.
Solution
Modified the main.inc file to account for this. Using the $rcube_config['username_domain'] array, if the value is left blank, the "@" will not be suffixed to the username.
Example
Username: john.doe Email : john.doe@domain.tld Server : imap.domain.tld John goes to log into roundcube with the following information: Username: john.doe Password: NunYaBeezWax Roundcube processes input, sends IMAP server this: Username: john.doe@ Password: NunYaBeezWax
What should happen is that the username is sent as "john.doe".
Usage
In /config/main.inc.php in the $rcube_config['username_domain'] array, any array key that has an empty value will NOT have the "@" added to it. E.g.
$rcube_config!['username_domain'] = array(
'imap.domain.tld'=>'',
);
Really hope that makes sense.
Attachments (1)
Change History (3)
Changed 6 years ago by bpat1434
comment:1 Changed 6 years ago by till
- Owner changed from bpat1434 to till
Hi bpat,
is this still relevant to rc1? I think it's fixed there. But please let me know.
Cheers,
Till
comment:2 Changed 6 years ago by till
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Patch/Diff? file for /programs/includes/main.inc