title: Android deep links not following path prefix
body: <p>The closest I could find was this question <a href="https://stackoverflow.com/questions/27184578/exclude-few-urls-from-deeplinking">here</a>. but it doesnt quite cover the problem im having.</p>
  
  <p>I have deep links in my app setup to use /app as the path prefix. The problem I'm having is that links like <code>http://example.com/upgrade</code> are also trying to open in my app even though it doesn't have /app anywhere in the url. I understand you cant exclude urls specified by the prefix, but isn't the whole point of path prefix to include only those urls?</p>
  
  <p>basically I want links like these to deep link:</p>
  
  <pre><code>http://example.com/app/home
  http://example.com/app/specials
  </code></pre>
  
  <p>but not links like these:</p>
  
  <pre><code>http://exaple.com/
  http://example.com/login
  </code></pre>
  
  <p>and here is what I have in my manifest:</p>
  
  <pre><code>&lt;data android:scheme="http"
      android:host="example.com"
      android:pathPrefix="/app"/&gt;
  </code></pre>
  
  <p><strong>Edit 1</strong></p>
  
  <p>also found <a href="https://stackoverflow.com/questions/31002909/android-deeplink-pathprefix-attribute-is-being-ignored">this link</a> but i dont have any empty prefixes, only ones with just a slash "/"</p>
  
  <p><strong>Edit 2</strong></p>
  
  <p>The url that was triggering it was <code>http://example.com/upgrade.php?app=1&amp;method=1&amp;uid=1</code>, I wasn't sure if app after the ? would also trigger it so I changed the prefix to /application but that also didn't work, its still triggering them.</p>
  
  <p><strong>Edit 3</strong></p>
  
  <p>here are the other deep link data tags in the manifest:</p>
  
  <p>profile activity</p>
  
  <pre><code>&lt;data android:scheme="myapp"
      android:host="profile"
      android:pathPrefix="/"/&gt;
  </code></pre>
  
  <p>login/signup activity</p>
  
  <pre><code>&lt;data android:scheme="myapp"
       android:host="login"
       android:pathPrefix="/signup"/&gt;
  </code></pre>
  
  <p>main activity</p>
  
  <pre><code>&lt;data android:scheme="myapp"
       android:host="main"
       android:pathPrefix="/"/&gt;
  
  &lt;data android:scheme="http"
       android:host="test.example.com"
       android:pathPrefix="/app"/&gt;
  
  &lt;data android:scheme="http"
       android:host="live.example.com"
       android:pathPrefix="/app"/&gt;
  </code></pre>
  
  <p><strong>Edit 4</strong> </p>
  
  <p>This is getting more and more confusing, if I remove the data tag with myapp as the scheme from the activity (or if i remove the pathPrefix from everything with a prefix of "/") it no longer triggers the deep links from the web urls, even if they have /app in them.</p>