# fix\(providers\): cap descriptor action URL length before opening \(\#291\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/e0f8dc814127000f12bad5ef340bbc1c34fdfb87)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: e0f8dc814127000f12bad5ef340bbc1c34fdfb87

Requested commit: e0f8dc814127000f12bad5ef340bbc1c34fdfb87

Commit: e0f8dc814127000f12bad5ef340bbc1c34fdfb87

Tree: eccbed0abba1b7e863452dfafa452b426cc49896

Author: Simone

Committer: GitHub

## Message

```
fix(providers): cap descriptor action URL length before opening (#291)

safeHttpsUrl accepted any https:// string unbounded, so a CLI-returned
action URL reached Qt.openUrlExternally without a length bound. Cap at
2048 characters like the other descriptor text bounds; longer addresses
report an unsupported URL. Selected from the bug hunt by a Jev
ship-decision (noul 0.78, jev-1.13.0); threshold and notification
suspects were cleared at their call sites.
```

## Parents

- [93dd6e9ee41c352a70b310dd6ed936eb725b3394](https://git.cafe/lucenx/codexbar-plasma/commit/93dd6e9ee41c352a70b310dd6ed936eb725b3394?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/e0f8dc814127000f12bad5ef340bbc1c34fdfb87?format=markdown)
