diff --git a/main/utils.c b/main/utils.c
index a91e1062b1c2cd4df59be485d567702a7a48a375..65b0494ebcee37b633321ff4485817d2a3e22587 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -441,7 +441,7 @@ static void base64_init(void)
 */
 char *ast_uri_encode(const char *string, char *outbuf, int buflen, int doreserved) 
 {
-	char *reserved = ";/?:@&=+$, ";	/* Reserved chars */
+	char *reserved = ";/?:@&=+$,# ";	/* Reserved chars */
 
  	const char *ptr  = string;	/* Start with the string */
 	char *out = NULL;