In fix [1], we've introduced a new Util class for URI validation. We already have a rich set of validations in [2].
Won't this help here? I think we do have URL pattern define here already. If we don't have a pattern defined we need to improve this utility and reuse everywhere. I already sent a previous mail on reusing JS validation utilities in UI layer also [3]. [1] https://github.com/wso2-extensions/identity-inbound-auth-oauth/commit/0db19e8602d3831d596e04c3ec68d8a35b9c840b#diff-088737b86ff1f8e078854ea4bf1e350eR31 <https://github.com/wso2-extensions/identity-inbound-auth-oauth/commit/0db19e8602d3831d596e04c3ec68d8a35b9c840b#diff-f34cc40ce27fc26f2c28135797acb814> [2] https://github.com/wso2/carbon-identity-framework/blob/master/components/identity-core/org.wso2.carbon.identity.base/src/main/java/org/wso2/carbon/identity/base/IdentityValidationUtil.java [3] [IAM] Can't we do the same fix by adding fragment component as a blacklisted pattern to our JS util method? -- Thanks & Regards, *Johann Dilantha Nallathamby* Senior Lead Solutions Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777776950* Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev