What version are you running?
What steps will reproduce the problem?
- Create a Git repository.
- Input a bad value for the Raw File URL Mask field.
- Attempt to fetch a file (through viewing a diff)
- Replace the Raw File URL Mask with a correct value.
- Attempt to fetch the file again.
What is the expected output? What do you see instead?
With the bad value, it should show an error in the diff viewer, but after correcting it, it should properly load the diff.
Instead, it's caching the broken page, since it doesn't know that the Raw File URL Mask has changed.
What we should be doing is factoring in that value into the cache key, if set, ensuring that we have different cache keys for different values.
This would be done in
_make_file_exists_cache_key. Those keys should factor in