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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Michael Wilkerson-Barker (Inactive)
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: