cancel
Showing results for 
Search instead for 
Did you mean: 

URLChecker.isValidURL not working as expected

Former Member
0 Kudos

Hello,

I am facing a strange issue with URLChecker.isValidURL(fileURL.getURL()) method in Java Webdynpro application.

I am trying to upload an image containing two dots (For ex: blue..jpg) in the image name. The application has been hosted in two different servers. In one server, isValidURL is throwing InvalidURLRuntimeException. But in another server, it’s considering the URL as valid, though it contains incorrect image name. What is the reason for this strange behavior?

Regards,

SP Shetty

Accepted Solutions (0)

Answers (1)

Answers (1)

jpenninkhof
Product and Topic Expert
Product and Topic Expert
0 Kudos

Are these two servers on the same patch level? Perhaps it's caused by a version difference of the library...