summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/percent-escaping.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/percent-escaping.html')
-rw-r--r--LayoutTests/fast/encoding/percent-escaping.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/percent-escaping.html b/LayoutTests/fast/encoding/percent-escaping.html
new file mode 100644
index 0000000..a2d0ea8
--- /dev/null
+++ b/LayoutTests/fast/encoding/percent-escaping.html
@@ -0,0 +1,23 @@
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<title>Percent escaping</title>
+</head>
+<body>
+<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=6452">bug 6452</a> -
+KURL::appendEscapingBadChars() should never escape percent characters.</p>
+<form action='resources/%2525%u0435 0 %xx%25%%ulike.html' name=f>
+ <input type=hidden name=q value=''>
+</form>
+<script>
+
+ if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+ }
+
+ document.f.submit();
+
+</script>
+</body>
+</html>