Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(measurex): make sure we don't redirect loop forever
This is the most immediate fix to the issue described by ooni/probe#1792. So, the logic was actually miss the increment, which would have been noticed with proper unit testing. Anyway, I am not sure why the loop ensues in the first time. By looking at the headers, it seems we're passing the headers correctly. So, even though this fix interrupts the loop, it still remains the question of whether the loop is legit or whether we're missing extra logic to properly redirect.
- Loading branch information