[Freeciv-tickets] [freeciv] #44309: .mpdl format: Allow baseURL to end to '/'

Back to archive index
OSDN Ticket System norep****@osdn*****
Thu Apr 21 08:06:27 JST 2022


#44309: .mpdl format: Allow baseURL to end to '/'

  Open Date: 2022-04-09 15:05
Last Update: 2022-04-21 02:06

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44309
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44309

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-04-21 02:06 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Closed
      Priority: 5 - Medium
     MileStone: S3_1 d3f
     Component: Modpack Installer
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

Modpack installer forms the final URL by "baseURL + '/' + path". That means that baseURL is not allowed to contain the '/' as it would duplicate, leading to trouble as I just witnessed debugging problems on a modpack that was installed with baseURL "./"
We definitely be smarter about that, and check if baseURL already ends to '/', and not duplicate it in that case.
This should be the case both with paths relative to modpack list, and paths relative to .mpdl.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44309
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44309



More information about the Freeciv-tickets mailing list
Back to archive index