0

This is my path prefix

<data android:pathPrefix="/some.html#"/>

Android does not match this path when '#' is there in prefix. But when I remove the '#' in both URL and filter, it works. Does # have a special meaning ?



EDIT
# is a problem even when doing using path pattern

<data android:pathPrefix="/.*/"/>

Even this does not work when you pass # in the link but when the url does not contain #, it works.

Ashwin
  • 12,691
  • 31
  • 118
  • 190

1 Answers1

0

Try using

Use &#35; HTML Code for Hash What's the HTML character entity for the # sign?

Or

\\# nullifies any special meaning to character

Community
  • 1
  • 1