Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-184

WP7 application root ha a slash in the wrong direction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0
    • cordova-wp7 (DEFUNCT)
    • None

    Description

      The PGView.xaml.cs has the following variable declared:

      private static string AppRoot = "app
      ";

      However, when the web browser navigates to the index.html page, you find that the browser URL is as follows:

      app\www/index.html

      Likewise, if you navigate back to the index page, the URL now becomes:

      app/www/index.html

      Basically, changing the variable to the following would fix the problem:

      private static string AppRoot = "app/";

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            colin.eberhardt Colin Eberhardt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: