Title: Message Title
|
|
It is not the matter of resolving the domain name. The url fails validation because the URLValidator class checks if the last part of the domain is an existing Top Level Domain. I checked RFC 3986 and it appears that having a valid TLD is not a requirement for a url to be valid but as URLValidator enforces this anyway, I propose this as a workaround. If validation fails the exception on line 162 https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/SolrServiceImpl.java?source=cc#L162 is thrown.
|
|
|
|
|
When a url like http://mypc.local/solr/search is entered as a search.server the URL validation fails. This is default behaviour of commons URL validator but potentially unwanted. I suggest creating an option toggling the Url validation. Default to true. (ie valdiation enabled)
|
|
|
|
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel