Project

General

Profile

« Previous | Next » 

Revision 5545

Added by berkley over 13 years ago

changed improper use of getFS() to a /. getFS() should never be used with a URL since it will return \ on windows which is not a valid separator in a URL.

View differences:

GeoserverUtil.java
86 86
			// Create the post url from values in metacat.properties
87 87
			String loginPostPage = 
88 88
				PropertyService.getProperty("geoserver.loginPostPage");
89
			String loginPostURL = SystemUtil.getContextURL() + FileUtil.getFS()
89
			String loginPostURL = SystemUtil.getContextURL() + "/"
90 90
					+ loginPostPage;
91 91
			
92 92
			logMetacat.debug("loginPostURL: " + loginPostURL);
......
133 133
			// Create the post url from values in metacat.properties
134 134
			String passwordPostPage = 
135 135
				PropertyService.getProperty("geoserver.passwordPostPage");
136
			String passwordPostURL = SystemUtil.getContextURL() + FileUtil.getFS()
136
			String passwordPostURL = SystemUtil.getContextURL() + "/"
137 137
					+ passwordPostPage;
138 138
			
139 139
			String passwordSuccessString = 
......
155 155
			// to assume it did.
156 156
			String applyPostPage = 
157 157
				PropertyService.getProperty("geoserver.applyPostPage");
158
			String applyPostURL = SystemUtil.getContextURL() + FileUtil.getFS()
158
			String applyPostURL = SystemUtil.getContextURL() + "/"
159 159
				+ applyPostPage;
160 160
			RequestUtil.post(httpClient, applyPostURL, null);		
161 161
			

Also available in: Unified diff