So I commented this part of code and it shows the error "Unexpected Repository Error null" which is quite ambiguous. I didn't know where the error is coming from cuz its not saying what actual code errored out. .
<Condition>(proxy.pathsuffix MatchesPath "/token") and (request.verb = "POST") and (request.queryparam.response_type NotEquals "token") <!--and --> <!--( NOT(request.queryparam.scope = null) or NOT (request.queryparam.scope = ' '))--> </Condition>
But then when I tried to move the <Condition> block above the comment like this
<Condition>(proxy.pathsuffix MatchesPath "/token") and (request.verb = "POST") and (request.queryparam.response_type NotEquals "token") </Condition> <!--and --> <!--( NOT(request.queryparam.scope = null) or NOT (request.queryparam.scope = ' '))-->
It worked, why is that?. Is this a bug?.
It's just that don't want to lose the hierarchy or arrangement of my code when I did the first code snippet. But moving the condition up the comment block would require me to move <Condition> code back below when I uncomment the code for it to work.
Getting same error,
interested in knowing more why we cannot keep the comments ...
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |