As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
403
Index: JaxRSUriIndex.java =================================================================== — JaxRSUriIndex.java (…/HEAD/root/projects/webscript-framework/source/java/org/alfresco/web/scripts/JaxRSUriIndex.java) (revision 12127) +++ JaxRSUriIndex.java (…/BRANCHES/V3.0/root/projects/webscript-framework/source/java/org/alfresco/web/scripts/JaxRSUriIndex.java) (revision 12127) @@ -24,14 +24,9 @@ */ package org.alfresco.web.scripts; -import java.util.ArrayList; import java.util.Comparator; -import java.util.HashMap; -import java.util.List; import java.util.Map; import java.util.TreeMap; -import java.util.regex.Matcher; -import java.util.regex.Pattern; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -76,9 +71,18 @@ Map<String, String> varsMatch = null; Match scriptMatch = null; String match = uri; - String matchNoExt = ((uri.indexOf('.') != -1) ? uri.substring(0, uri.indexOf('.')) : uri); + String matchNoExt = uri; + int extIdx = uri.indexOf('.'); + if (extIdx != -1) + { + // format extension is only valid as the last URL element + if (uri.lastIndexOf('/') < extIdx) + { + matchNoExt = uri.substring(0, extIdx); + } + } method = method.toUpperCase(); - + // locate full match - on URI and METHOD for (IndexEntry entry : index.keySet()) {
patch -p0 -l < ~/Desktop/dot-patch.diff
patching file JaxRSUriIndex.java patch: **** malformed patch at line 7: package org.alfresco.web.scripts;
I'm not sure I understand the question. Have you created a new user (e.g. Chitrai) and then can't log-in from Share with that user?What format are you using for the usernames?Are you using any sort of external authentication (NTLM, LDAP, etc.)?Can you log-in to Alfreco Explorer with the exact same username and password?Mike
Please let me know if this fixes this particular issue and I'll see if I can merge this to HEAD asap.