|
From: <nr...@us...> - 2011-07-02 07:51:27
|
Revision: 15644
http://dcm4che.svn.sourceforge.net/dcm4che/?rev=15644&view=rev
Author: nroduit
Date: 2011-07-02 07:51:20 +0000 (Sat, 02 Jul 2011)
Log Message:
-----------
minor mistakes
Modified Paths:
--------------
weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/java/org/weasis/servlet/Weasis_Launcher.java
weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/resources/weasis-connector-default.properties
Modified: weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/java/org/weasis/servlet/Weasis_Launcher.java
===================================================================
--- weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/java/org/weasis/servlet/Weasis_Launcher.java 2011-07-01 13:56:03 UTC (rev 15643)
+++ weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/java/org/weasis/servlet/Weasis_Launcher.java 2011-07-02 07:51:20 UTC (rev 15644)
@@ -140,17 +140,17 @@
// Test if this client is allowed
String hosts = pacsProperties.getProperty("hosts.allow");
if (hosts != null && !hosts.trim().equals("")) {
- String clintHost = request.getRemoteHost();
+ String clientHost = request.getRemoteHost();
String clientIP = request.getRemoteAddr();
boolean accept = false;
for (String host : hosts.split(",")) {
- if (host.equals(clintHost) || host.equals(clientIP)) {
+ if (host.equals(clientHost) || host.equals(clientIP)) {
accept = true;
break;
}
}
if (!accept) {
- logger.warn("The request from {} is not allowed.", clintHost);
+ logger.warn("The request from {} is not allowed.", clientHost);
return;
}
}
Modified: weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/resources/weasis-connector-default.properties
===================================================================
--- weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/resources/weasis-connector-default.properties 2011-07-01 13:56:03 UTC (rev 15643)
+++ weasis/weasis_dcm4chee/trunk/weasis-pacs-connector/src/main/resources/weasis-connector-default.properties 2011-07-02 07:51:20 UTC (rev 15644)
@@ -21,7 +21,7 @@
pacs.aet=DCM4CHEE
pacs.host=localhost
pacs.port=11112
-# Encoding type of the values (ex. Patient name, Study despcription...)
+# Encoding type of the values (ex. Patient name, Study description...)
#pacs.db.encoding=utf-8
@@ -33,7 +33,7 @@
pacs.wado.url=${server.base.url}/wado
# If the WADO server requires an http authentication (pacs.web.login=user:pwd)
#pacs.web.login=
-# Allows additionnal parameters at the end of the WADO URL
+# Allows additional parameters at the end of the WADO URL
wado.addparams=
# True if the WADO server supports request with only the SopInstanceUID (standard is Study, Series and Intance UID)
wado.onlysopuid=false
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|