Unverified Commit a1fe395b authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix URI template identifier encoding with uri-template-router 1.0.0

Updated uri-template-router from 0.0.17 to 1.0.0 to fix inconsistent
encoding/decoding of identifiers with special characters. The new
version properly decodes percent-encoded characters in URI template
variables according to RFC 6570, resolving issues where identifiers
containing URIs were being inconsistently decoded in dispatcher
callbacks and double-encoded in collection URLs.

Fixes https://github.com/fedify-dev/fedify/issues/416
parent 8e528313
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -8,6 +8,17 @@ Version 1.8.13

To be released.

### @fedify/fedify

 -  Fixed inconsistent encoding/decoding of URI template identifiers with
    special characters.  Updated *uri-template-router* to version 1.0.0,
    which properly decodes percent-encoded characters in URI template variables
    according to RFC 6570.  This resolves issues where identifiers containing
    URIs (e.g., `https%3A%2F%2Fexample.com`) were being inconsistently decoded
    in dispatcher callbacks and double-encoded in collection URLs.  [[#416]]

[#416]: https://github.com/fedify-dev/fedify/issues/416


Version 1.8.12
--------------
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@
    "multicodec": "npm:multicodec@^3.2.1",
    "pkijs": "npm:pkijs@^3.2.4",
    "structured-field-values": "npm:structured-field-values@^2.0.4",
    "uri-template-router": "npm:uri-template-router@^0.0.17",
    "uri-template-router": "npm:uri-template-router@^1.0.0",
    "url-template": "npm:url-template@^3.1.1"
  },
  "include": [
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@
    "multicodec": "^3.2.1",
    "pkijs": "^3.2.4",
    "structured-field-values": "^2.0.4",
    "uri-template-router": "^0.0.17",
    "uri-template-router": "^1.0.0",
    "url-template": "^3.1.1",
    "urlpattern-polyfill": "^10.1.0"
  },
+5 −5
Original line number Diff line number Diff line
@@ -491,8 +491,8 @@ importers:
        specifier: ^2.0.4
        version: 2.0.4
      uri-template-router:
        specifier: ^0.0.17
        version: 0.0.17
        specifier: ^1.0.0
        version: 1.0.0
      url-template:
        specifier: ^3.1.1
        version: 3.1.1
@@ -6258,8 +6258,8 @@ packages:
  uri-js@4.4.1:
    resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}

  uri-template-router@0.0.17:
    resolution: {integrity: sha512-5h2I/eSN+XFRAFaSR72KTFWg5rf8GB6Ur5+yWHjtwEqmn6cfZqoWsoWTh6NhxW8pIlFq144G2J23OCg3CeAaSg==}
  uri-template-router@1.0.0:
    resolution: {integrity: sha512-WKcL9ZSIEhHE3f5P4Z47Tf0nWbcgV1ISb/OBuF8YKEYi0SQOyTLCzM6B/gAKFWZhRhqA+C/Ks8UXe2qU5W0FVg==}

  url-parse@1.5.10:
    resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==}
@@ -12806,7 +12806,7 @@ snapshots:
    dependencies:
      punycode: 2.3.1

  uri-template-router@0.0.17: {}
  uri-template-router@1.0.0: {}

  url-parse@1.5.10:
    dependencies: