ObjFW  Ticket Change Details

Overview

Artifact ID: c474b13923add8cb0b6fd8b72c8fe406ff035c3d1edb207f01f24c448a6e4656
Ticket: 44ec7f4c75ca9ef75dc9ed85cb9da4144e8eeb68
Add support for URIs
User & Date: js on 2022-09-27 23:36:28
Changes

  1. icomment:
    Currently, `OFURL` only supports, as the name implies, URLs. However, it would be nice to also be able to handle URIs. As it would be bad to have two classes, the best way forward would be to rename `OFURL` to `OFURI` and add URI support as per 3986 to it.
    
    It seems the main changes needed would be:
    
    * Rename to `OFURI` and change `OFURL` -> `OFURI` everywhere
    * Drop `fragment` entirely
    * Add support for parsing URIs with no authority, making `host`, `port`, `user` and `password` `nil` when there is no authority.
    
    As this is breaking the API, this needs to happen before the 1.0 release.
    
  2. login: "js"
  3. milestone changed to: "1.0"
  4. mimetype: "text/x-markdown"
  5. priority changed to: "High"
  6. severity changed to: "Severe"
  7. status changed to: "Open"
  8. title changed to: "Add support for URIs"
  9. type changed to: "Enhancement"