diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module
index c186576..8de32ed 100644
--- a/core/modules/filter/filter.module
+++ b/core/modules/filter/filter.module
@@ -515,7 +515,7 @@ function _filter_url($text, $filter) {
   // 1. Allow =&# for empty URL parameters and other URL-join artifacts
   $valid_url_ending_characters = '[\p{L}\p{M}\p{N}:_+~#=/]|(?:' . $valid_url_balanced_parens . ')';
 
-  $valid_url_query_chars = '[a-z0-9!?\*\'@\(\);:&=\+\$\/%#\[\]\-_\.,~|]';
+  $valid_url_query_chars = '[a-zA-Z0-9!?\*\'@\(\);:&=\+\$\/%#\[\]\-_\.,~|]';
   $valid_url_query_ending_chars = '[a-z0-9_&=#\/]';
 
   //full path
diff --git a/core/modules/filter/tests/filter.url-input.txt b/core/modules/filter/tests/filter.url-input.txt
index 7b33af5..443b4de 100644
--- a/core/modules/filter/tests/filter.url-input.txt
+++ b/core/modules/filter/tests/filter.url-input.txt
@@ -10,6 +10,8 @@ http://www.test.com
 www.test.com
 person@test.com
 <code>www.test.com</code>
+http://test.com/?search=test
+http://test.com/?search=Test
 
 What about tags that don't exist <x>like x say www.test.com</x>? And what about tag <pooh>beginning www.test.com with p?</pooh>
 
@@ -33,4 +35,4 @@ The old URL filter has problems with <a title="kind of link www.example.com with
  inside a comment containing newlines and 
 <em>html</em> tags.</p> -->
 
-This is the end!
\ No newline at end of file
+This is the end!
diff --git a/core/modules/filter/tests/filter.url-output.txt b/core/modules/filter/tests/filter.url-output.txt
index 9cc5073..a2d46c2 100644
--- a/core/modules/filter/tests/filter.url-output.txt
+++ b/core/modules/filter/tests/filter.url-output.txt
@@ -10,6 +10,8 @@ This is just a <a href="http://www.test.com">www.test.com</a>. paragraph with <a
 <a href="http://www.test.com">www.test.com</a>
 <a href="mailto:person@test.com">person@test.com</a>
 <code>www.test.com</code>
+<a href="http://test.com/?search=test">http://test.com/?search=test</a>
+<a href="http://test.com/?search=Test">http://test.com/?search=Test</a>
 
 What about tags that don't exist <x>like x say <a href="http://www.test.com">www.test.com</a></x>? And what about tag <pooh>beginning <a href="http://www.test.com">www.test.com</a> with p?</pooh>
 
@@ -33,4 +35,4 @@ The old URL filter has problems with <a title="kind of link www.example.com with
  inside a comment containing newlines and 
 <em>html</em> tags.</p> -->
 
-This is the end!
\ No newline at end of file
+This is the end!
