- Product: Primo, Primo VE
Incoming openURLs from third party vendors might include values that contain an ampersand (&). For example:
Primo will then parse it by the '&' delimiter, causing a value word to be recognized as a parameter:
When an incoming URL includes unencoded characters, this could impact the metadata integrity.
According to ANSI/NISO Z39.88-2004 (R2010), page 41:
Rules for URL-encoding values are:
- The alphanumeric characters (letters and digits), the period character (‘.’), the hyphen character (‘-’), the asterisk character (‘*’), and the underscore character (‘_’) remain the same.
- The space character (‘ ’) is converted into a plus sign (‘+’) or into the character string “%20”.
- For all other characters, each byte of the character is converted into a three-character string “%XY” where “XY” is the two-digit hexadecimal representation of the byte.
Therefore, to avoid values from being parsed as parameters, the special characters must be encoded before arriving to Primo. For example:
- Article last edited: 14-Aug-2018