Skip to content

Commit

Permalink
Revert "For usnistgov#452, modified copy-and-convert script to suppre…
Browse files Browse the repository at this point in the history
…ss character-level post-processing in generated JSON; added unit tests for URIs to detect issues with solidus characters '/'"

This reverts commit e735440.
  • Loading branch information
david-waltermire committed Sep 26, 2019
1 parent 9b6c4c4 commit a32b3df
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 133 deletions.
2 changes: 1 addition & 1 deletion build/ci-cd/copy-and-convert-content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ while IFS="|" read path format model converttoformats || [[ -n "$path" ]]; do
case $altformat in
json)
# Remove extra slashes
# perl -pi -e 's,\\/,/,g' "${dest}"
perl -pi -e 's,\\/,/,g' "${dest}"
# translate OSCAL mime types
perl -pi -e 's,(application/oscal\.[a-z]+\+)xml\",\1json\",g' "${dest}"
# relative content paths
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit a32b3df

Please sign in to comment.