-
I'm working with a fairly easy flow, where the @app.route("/normal")
def normal():
unsafe_dn = "dc=%s" % request.args['dc']
unsafe_filter = "(user=%s)" % request.args['username']
srv = ldap3.Server('ldap://127.0.0.1', port=1337)
conn = ldap3.Connection(srv, user=unsafe_dn, auto_bind=True)
conn.search(unsafe_dn, unsafe_filter, attributes=[
"testAttr1", "testAttr2"]) The thing is that, I get three different flows. The first one is the intended one ( I guess this comment is also related to this issue. Thanks in advance for your time! :D |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think that |
Beta Was this translation helpful? Give feedback.
I think that
request
(l.9) ->request
(l.10) (in the third path explanation) is use-use flow. That is, the reference torequest
on line 10 is "the next use" of that variable after the reference on line 9. Use-use flow is normally compressed out of the path explanations, but it may be shown here because we force is to show all subscript reads. However, it seems to also give you the version where it is compressed away in the second path explanation.