Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-2096

Strip trailing '/' from base URL provided to AppConfig or App::update_base_url()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sync
    • None

      When setting the base URL value, it is a common mistake to include the trailing forward slash ('/') in the URL, which will cause the client to fail to communicate with the server. Strip the trailing '/' from the base URL string provided to AppConfig::base_url or to App::update_base_url().

      In addition, ensure the base URL string value provided by App::get_base_url(() does not include a trailing forward slash ('/').

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            AD Sync Client
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: