Tainted flow: 'current_url' from requests.get (line 198, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
current_url = response.url for _ in range(3): # 최대 3회 추가 리다이렉트 시도 try: resp = requests.get(current_url, headers=self.headers, timeout=5, allow_redirects=False) if resp.status_code in [301, 302, 303, 307, 308] and 'Location' in resp.headers: next_url = resp.headers['Location'] if 'google.com' not in next_url:- Confidence
- 93% confidence
- Finding
- resp = requests.get(current_url, headers=self.headers, timeout=5, allow_redirects=False)
