Closed lkraav closed 4 years ago
Aah, I see now https://github.com/cedaro/satispress/commit/be16e113db75613b5f20fbf4a9c157e4f83d2cbc moves away from sanitize_key()
, which means we could use a custom filter, or just hardcode to add the .
character, since it's likely to be used elsewhere also.
Composer does allow .
in package names, so I don't think there should be an issue hardcoding that. If you modify that regex to include .
, does it solve your use case?
Yes, it works.
Hi. As identified in #83, I think we could use a
add_filter sanitize_key
to perhaps add more elements to the whitelist. For example, some of our plugins are namedsomething-other.git
, to distinguish it fromsomething-other
aka clean upstream version. Your thoughts?