Why did this serial by path stop working because of too many colons?

Have you tried to wrap each entry in single quotes?

I am surprised it worked before without quoting, as devices mappings actually should only have a single colon, to divide the host and container sides of the mapping.

I assume this works:

devices:
      - '/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0-port0:/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0-port0'
      - '/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-port0:/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-port0'

After sending the response. My response doesn’t make sense to me. I remembered there was a discussion about it a while ago:Device name with ":" - #4 by rimelek