YunoHost / issues

General issue tracker for the YunoHost project
71 stars 8 forks source link

domains with word "null" cause frontend bugs #2271

Open acuteaura opened 8 months ago

acuteaura commented 8 months ago

Describe the bug

When a segment of a DNS name contains the word null, the substring disappears from the domain overview in the admin panel. It still renders fine in a tag and subdomains render fine. Didn't exactly reproduce, but it's at the start of my apex (so the domain format is like yunohost.null<something>.<tld>). Possibly related, but search doesn't work and div#domain-list contains attribute queries="GET,[object Object]".

Context

To reproduce

Add domain in above format. Other similar formats may trigger it too.

Expected behavior

The domain isn't missing the word null; search works.

Logs

No backend operation failed, this is a frontend bug.

tituspijean commented 8 months ago

Probable culprit: https://github.com/YunoHost/yunohost-admin/blob/2337c343fd858120cb877dabcb2ab73581ad5f9c/app/src/views/domain/DomainList.vue#L23