Closed manu-chroma closed 6 years ago
For gitlab we checking for username bytes inside the response.content from the following url: gitlab.com/<username>
gitlab
response.content
gitlab.com/<username>
when testing these two urls:
They both point to same username Rohanvdhulla but the check gives false response in the second case because we're checking for rohanvdhulla instead.
Rohanvdhulla
rohanvdhulla
Thus, bytes('rohanvdhulla') in res.content will return false because the page contains Rohanvdhulla instead.
bytes('rohanvdhulla') in res.content
false
originally reported by @Monal5031
For
gitlab
we checking for username bytes inside theresponse.content
from the following url:gitlab.com/<username>
when testing these two urls:
They both point to same username
Rohanvdhulla
but the check gives false response in the second case because we're checking forrohanvdhulla
instead.Thus,
bytes('rohanvdhulla') in res.content
will returnfalse
because the page containsRohanvdhulla
instead.