Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanpadams committed Feb 5, 2024
1 parent 4019e6c commit 0478f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ to produce a complete package. This runs all the phases necessary, including com


#### :guardsman: Secrets Detection Setup and Update
The PDS uses [Detect Secrets](Detect Secrets](https://nasa-ammos.github.io/slim/docs/guides/software-lifecycle/security/secrets-detection/)) to help prevent committing information to a repository that should remain secret.
The PDS uses [Detect Secrets](https://nasa-ammos.github.io/slim/docs/guides/software-lifecycle/security/secrets-detection/)) to help prevent committing information to a repository that should remain secret.

For Detect Secrets to work, there is a one-time setup required to your personal global Git configuration, as well as several steps to create or update the **required** `.secrets.baseline` file needed to avoid false positive failures of the software. See [the wiki entry on Detect Secrets](https://github.com/NASA-PDS/nasa-pds.github.io/wiki/Git-and-Github-Guide#detect-secrets) to learn how to do this.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,13 @@ public void init(ServletConfig servletConfig) throws ServletException {
*/
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
LOG.info("GET request received.");
try {
// Forward the query to the results page.
LOG.info("Query: " + request.getQueryString());

String queryString = getQueryString(request);
String url =
String.format("%s/%s/%s?%s", this.solrServerUrl, this.solrCollection,
String url = String.format("%s/%s/%s?%s", this.solrServerUrl, this.solrCollection,
this.solrRequestHandler, queryString);
LOG.info("URL: " + url);


HttpClient client = HttpClient.newHttpClient();
Expand Down

0 comments on commit 0478f14

Please sign in to comment.