NCIOCPL / clinical-trials-search-print

Print service for clinical trial search
0 stars 1 forks source link

link_template not allowing underscores #68

Closed blairlearn closed 2 years ago

blairlearn commented 2 years ago

Issue description

When the link_template field contains underscores (e.g. the search criteria included the "Basic Science" trial type - with a value of basic_science - or "Health Services Research" - with a value of health_services_research ) the request fails with a status 400 error because underscore (_) is not an allowed character.

This was caused by the fix to issue #66

ESTIMATE TBD

Steps to reproduce the issue

  1. Browse to the advanced search page.
  2. Select a Trial Type of "Basic Science" (or "Supportive Care" or "Health Services Research")
  3. Perform the Search
  4. Select one or more trials
  5. Click "Print Selected"

What's the expected result?

What's the actual result?

Additional details / screenshot

Related Tickets