summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 2cfc7d147..01973a75a 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -3995,7 +3995,7 @@ rspamd_url_encode (struct rspamd_url *url, gsize *pdlen,
if (url->userlen > 0) {
ENCODE_URL_COMPONENT (rspamd_url_user_unsafe (url), url->userlen,
RSPAMD_URL_FLAGS_USERSAFE);
- *d++ = ':';
+ *d++ = '@';
}
ENCODE_URL_COMPONENT (rspamd_url_host_unsafe (url), url->hostlen,