Commit Graph
3 Commits
Author SHA1 Message Date
Sebastian Wick 90dd779443 docker-reference: Validate domain in docker_reference_parse
Instead of just blindly accepting any characters to make up the docker
registry domain, reject invalid domains (including ones which contain
e.g. '@', '#', and '?').
2026-08-04 11:38:22 +00:00
Sebastian Wick 3f41df2556 docker-reference: Don't assert on regex match failure
flatpak_docker_reference_parse() asserts that the regex always matches,
but inputs containing newlines cause the match to fail since the regex
is not compiled with G_REGEX_DOTALL. Return an error instead.
2026-08-04 11:38:22 +00:00
Owen W. Taylor dc56bda820 image-source: Add flatpak_image_source_new_for_location
Which allows one to create an image source from a container location.

It also adds a new FlatpakDockerReference to access different parts of a
docker reference and changes to FlatpakOciIndex to get a manifest for a
specific architecture.

This will become useful in the next commit when we're going to add
support for installing OCI images.
2025-08-25 15:56:20 +00:00