fix uri definition change issue
diff --git a/src/backend.c b/src/backend.c
index 92d812d..0f32ac2 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -335,7 +335,7 @@
 				if (slashes == px->lbprm.arg_opt3) /* depth+1 */
 					break;
 			}
-			else if (c == '?' && !px->lbprm.arg_opt1) // "whole"
+			else if (c == '?') // "whole"
 				break;
 			end++;
 		}
@@ -2859,6 +2859,7 @@
 				arg += 1;
 			}
 			else if (!strcmp(args[arg], "gerrit")) {
+				curproxy->lbprm.arg_opt1 |= 2;
 				if (!*args[arg+1] || (atoi(args[arg+1]) < 0)) {
 					memprintf(err, "%s : '%s' expects a non negative integer  (got '%s').", args[0], args[arg], args[arg+1]);
 					return -1;