API update - when request is coming in, datastream id need to be checked

Project:RUcore Statistics
Version:7.1.1
Component:Code
Category:feature request
Priority:normal
Assigned:jgeng
Status:closed
Description

API updates - currently when request is coming in, datastream id only checked if it is PDF-, JPEG- so on. It also need to be checked if PDF- is following a number with e.g. PDF-34. To prevent malformed datastream id such as PDF-1/?Q.

Comments

#1

Status:active» test

fixed, please test.

#2

to test click on this link:

<a href="http://rep-test.libraries.rutgers.edu/dlr/outputds.php?pid=rutgers-lib:200993&amp;ds=PDF-1/?q=user/register" title="http://rep-test.libraries.rutgers.edu/dlr/outputds.php?pid=rutgers-lib:200993&amp;ds=PDF-1/?q=user/register">http://rep-test.libraries.rutgers.edu/dlr/outputds.php?pid=rutgers-lib:2...</a>

#3

Status:test» fixed

Tested by passing a bad ID to the stats IP. I got an error message and the entry was not logged.

#4

Version:7.2» 7.1.1

#5

Status:fixed» closed

Back to top