Project

General

Profile

« Previous | Next » 

Revision 8313

Change the guid.ezid.uritemplate.metadata property value to the hostname only, with no context

View differences:

src/edu/ucsb/nceas/metacat/dataone/DOIService.java
200 200
				}
201 201
				try {
202 202
					uriTemplate = PropertyService.getProperty(uriTemplateKey);
203
					target =  SystemUtil.getSecureContextURL() + uriTemplate.replaceAll("<IDENTIFIER>", identifier);
203
					target =  SystemUtil.getSecureServerURL() + uriTemplate.replaceAll("<IDENTIFIER>", identifier);
204 204
				} catch (PropertyNotFoundException e) {
205 205
					logMetacat.warn("No target URI template found in the configuration for: " + uriTemplateKey);
206 206
				}

Also available in: Unified diff