Doug Hellmann f7b5b56b34 skip redirects when code name matches service type
The ec2-api project docs aren't accessible because /ec2-api/ redirects
to /ec2-api/latest/ (due to the rule about project URLs without a
series) and /ec2-api/.* redirects to /ec2-api/latest/ (due to the rule
for service types). The combination ensures that accessing
docs.o.o/ec2-api/ results in an infinite redirect loop. This change
breaks the loop by skiping the service type rule when the service type
and project name match.

Change-Id: I79e869b12cbd33f79cd1455d9aa26ec5a6642429
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-18 11:42:16 -04:00
..
2017-07-12 08:56:09 +02:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2016-07-18 22:20:17 -07:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-06-20 15:41:27 -03:00
2017-07-03 08:46:57 -04:00
2017-07-14 17:05:46 +02:00
2017-06-20 15:41:27 -03:00
2017-07-04 07:51:08 +02:00
2017-07-18 14:27:25 +00:00