title: Passing URL as a parameter to Jetpack Compose Navigation
body: <p>I have created a destination for <code>HistoryDetail</code> screen in my app.</p>
  <pre><code>composable(
      route = &quot;HistoryDetail/{webpage}&quot;,
      arguments = listOf(
          navArgument(&quot;webpage&quot;) {
              type = NavType.StringType
          }
      ),
  ) { entry -&gt;
      val text = entry.arguments?.getString(&quot;webpage&quot;) ?: &quot;&quot;
  }
  </code></pre>
  <p>When I try to navigate to that screen by calling:</p>
  <pre><code>navController.navigate(&quot;HistoryDetail/http://alphaone.me/&quot;)
  </code></pre>
  <p>I'm getting <code>illegalArgumentException</code> with the below message.</p>
  <pre><code>java.lang.IllegalArgumentException: Navigation destination that matches request NavDeepLinkRequest{ uri=android-app://androidx.navigation/HistoryDetail/http://alphaone.me/ } cannot be found in the navigation graph NavGraph(0x0) startDestination={Destination(0x78c9ba0c) route=Home}
  </code></pre>
  <p>Edit:</p>
  <p>It works if I call: <code>navController.navigate(&quot;HistoryDetail/test&quot;)</code>.</p>