Apps - UI validates `uri` type more strictly than middleware

Description

None

Problem/Justification

Setting `type: uri` for an input in apps wizard will not allow a uri like `mqtt://server:1234`

Impact

None

Attachments

1

Activity

Show:

Bug Clerk February 13, 2025 at 3:27 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk February 13, 2025 at 2:55 PM

Bug Clerk February 10, 2025 at 12:22 PM

Stavros Kois February 6, 2025 at 2:58 PM
Edited

urllib also parses mqtt



( )

Stavros Kois February 6, 2025 at 2:56 PM

Well it doesn’t work with ws:// either, which is valid on

Looks like UI does a regex validation here



Even if we ignore the mqtt, which I’m fine. There seems to be a desync between mw and ui.

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Time remaining

0m

Priority

Katalon Platform

Created February 6, 2025 at 2:50 PM
Updated February 20, 2025 at 12:49 PM
Resolved February 13, 2025 at 3:27 PM