From: Brion Vibber
Date: Fri, 17 Mar 2006 00:29:46 +0000 (+0000)
Subject: Tests for bug 4781, 5267
X-Git-Tag: 1.6.0~194
X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=9898ac0b5f63fc6e156337ee0722c8ebb0d34a79;p=lhc%2Fweb%2Fwiklou.git
Tests for bug 4781, 5267
---
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index eeefcaa576..d3125613c7 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -706,6 +706,35 @@ Bug 2702: Mismatched and tags are invalid
!! end
+
+!! test
+Bug 4781: %26 in URL
+!! input
+http://www.example.com/?title=AT%26T
+!! result
+http://www.example.com/?title=AT%26T
+
+!! end
+
+!! test
+Bug 4781, 5267: %26 in URL
+!! input
+http://www.example.com/?title=100%25_Bran
+!! result
+http://www.example.com/?title=100%25_Bran
+
+!! end
+
+!! test
+Bug 4781, 5267: %28, %29 in URL
+!! input
+http://www.example.com/?title=Ben-Hur_%281959_film%29
+!! result
+http://www.example.com/?title=Ben-Hur_%281959_film%29
+
+!! end
+
+
###
### Quotes
###