Skip to content

Commit c6fcbec

Browse files
committed
Strip HTML from container and location as well
1 parent a38ead2 commit c6fcbec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

process_request/routines.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def get_data(self, uri_list, dimes_baseurl):
7777
"size": get_size(item_json["instances"]),
7878
"preferred_instance": {
7979
"format": format,
80-
"container": container,
81-
"subcontainer": subcontainer,
82-
"location": location,
80+
"container": self.strip_tags(container),
81+
"subcontainer": self.strip_tags(subcontainer),
82+
"location": self.strip_tags(location),
8383
"barcode": barcode,
8484
"uri": container_uri,
8585
}

0 commit comments

Comments
 (0)