summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/dbus-specification.xml2
-rwxr-xr-xtest/test-dbus-launch-x11.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml
index 7110be79..0f0ca5ae 100644
--- a/doc/dbus-specification.xml
+++ b/doc/dbus-specification.xml
@@ -3097,7 +3097,7 @@
<listitem>
<para>
The set of optionally-escaped bytes is:
- <literal>[0-9A-Za-z_-/.\]</literal>. To escape, each
+ <literal>[-0-9A-Za-z_/.\]</literal>. To escape, each
<emphasis>byte</emphasis> (note, not character) which is not in the
set of optionally-escaped bytes must be replaced with an ASCII
percent (<literal>%</literal>) and the value of the byte in hex.
diff --git a/test/test-dbus-launch-x11.sh b/test/test-dbus-launch-x11.sh
index be0f4f3c..8f049101 100755
--- a/test/test-dbus-launch-x11.sh
+++ b/test/test-dbus-launch-x11.sh
@@ -198,7 +198,7 @@ test_xdg_runtime_dir () {
export XDG_RUNTIME_DIR="$workdir"
fake_uuid="ffffffffffffffffffffffffffffffff"
- if echo "$workdir" | grep '[^0-9A-Za-z_-/.]'; then
+ if echo "$workdir" | grep '[^-0-9A-Za-z_/.]'; then
test_num=$(($test_num + 1))
echo "ok ${test_num} # SKIP - $workdir would need escaping"
return