github ancsemi/Haven v3.16.4

6 months ago

Two bug fixes.

Fixed

  • Video and audio files mis-categorized in media gallery (#5361). File attachments are stored as [file:name](url|size). The |size suffix was being included in the URL string when the gallery parser ran, so the extension check (e.g. .mp4(?:$|[?#])) never matched and everything fell into the Files tab instead of Videos or Audio. The parser now strips the size suffix before checking the extension.
  • Unicode letters blocked in channel names (#5362). The channel-name validation regex used \w which is ASCII-only in JavaScript even with the unicode flag, so umlauts, accented letters, and other non-ASCII characters were rejected with "invalid characters." Added \p{L}\p{M} (Unicode letter and combining-mark categories) to the regex so any script is accepted.

Don't miss a new Haven release

NewReleases is sending notifications on new releases.