You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2023/11/08 08:55:02 UTC

(logging-site) branch cyclonedx updated: Emulate current BOM Exchange API

This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch cyclonedx
in repository https://gitbox.apache.org/repos/asf/logging-site.git


The following commit(s) were added to refs/heads/cyclonedx by this push:
     new 1f26a1c3 Emulate current BOM Exchange API
1f26a1c3 is described below

commit 1f26a1c3dd780df2c091d277b3f9d127ea32a060
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Wed Nov 8 09:54:46 2023 +0100

    Emulate current BOM Exchange API
---
 .htaccess | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..43036f64
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,5 @@
+RewriteEngine On
+RewriteBase "/cyclonedx/"
+
+RewriteCond %{QUERY_STRING} "bomIdentifier=(urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})"
+RewriteRule "^$" "/cyclonedx/%1"