mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for SLNG-1085 - Doclist data webscripts with sites starting with numbers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10889 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -388,7 +388,7 @@ public final class Search extends BaseScopableProcessorExtension
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode a string to ISO907 - used to build valid paths for Lucene queries etc.
|
||||
* Encode a string to ISO9075 - used to build valid paths for Lucene queries etc.
|
||||
*
|
||||
* @param s Value to encode
|
||||
*
|
||||
@@ -399,6 +399,18 @@ public final class Search extends BaseScopableProcessorExtension
|
||||
return ISO9075.encode(s);
|
||||
}
|
||||
|
||||
/**
|
||||
* Decode a string from ISO9075
|
||||
*
|
||||
* @param s Value to decode
|
||||
*
|
||||
* @return decoded value
|
||||
*/
|
||||
public String ISO9075Decode(String s)
|
||||
{
|
||||
return ISO9075.decode(s);
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the query
|
||||
*
|
||||
|
Reference in New Issue
Block a user