개정판 db545833
Issue #1003 외부링크 수정시 To Vendor/To Vendor이 Null인지 체크
Change-Id: I9cfed4559e1795c66f4119c88f4db517c6850c7e
KCOM/Services/BaseServices.cs | ||
---|---|---|
179 | 179 |
{ |
180 | 180 |
var sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", App.isExternal); |
181 | 181 |
|
182 |
var toUri = new Uri(HttpUtility.UrlDecode(item.TO_VENDOR)); |
|
183 |
var fromUri = new Uri(HttpUtility.UrlDecode(item.FROM_VENDOR)); |
|
182 |
if (!string.IsNullOrWhiteSpace(item.TO_VENDOR)) |
|
183 |
{ |
|
184 |
var toUri = new Uri(HttpUtility.UrlDecode(item.TO_VENDOR)); |
|
185 |
item.TO_VENDOR = $"{sBaseServiceURL}{toUri.LocalPath}"; |
|
186 |
} |
|
184 | 187 |
|
185 |
item.TO_VENDOR = $"{sBaseServiceURL}{toUri.LocalPath}"; |
|
186 |
item.FROM_VENDOR = $"{sBaseServiceURL}{fromUri.LocalPath}"; |
|
187 |
|
|
188 |
if (!string.IsNullOrWhiteSpace(item.FROM_VENDOR)) |
|
189 |
{ |
|
190 |
var fromUri = new Uri(HttpUtility.UrlDecode(item.FROM_VENDOR)); |
|
191 |
item.FROM_VENDOR = $"{sBaseServiceURL}{fromUri.LocalPath}"; |
|
192 |
} |
|
188 | 193 |
} |
189 | 194 |
else |
190 | 195 |
{ |
내보내기 Unified diff