Conversation
add target:
add rule
|
@ivysrono Thanks for the feedback! Done. |
@mathiasbynens I have updated TODO list. |
@ivysrono |
@mathiasbynens Yes, you should do it.
|
@ivysrono Thanks! Done. |
Each target is one test url. No rule for http://forum.tibia.com/ and http://forum.test.tibia.com/ now.
|
This would redirect everything to secure.test.tibia.com, but I see what you mean. I’ve updated the file accordingly. Everything ok now? |
@mathiasbynens Wait Collaborators... |
Thanks @mathiasbynens and @ivysrono. There are still some changes needed, please check out the list below. I'll merge this PR once the requested changes are approved.
|
`http://forum.tibia.com/forum/*` is now available over HTTPS through `https://secure.tibia.com/forum/*`.
@gloomy-ghost Done. PTAL |
Thanks, but the special case rule has to be at the position before a general rule because the general rule is applicable for targets that special rule is trying to redirect, and the special rule can't match anything if it's behind the general rule. We prefer Also please don't squash commits when a reviewer has started requesting changes. We would like to use diff between commits rather than check everything again. PRs will be squash-and-merged in the end of reviewing anyway. |
Well, what I meant by "special case rule has to be at the position before a general rule" is switching these two lines and these two lines. Also you can break a long rule into two lines. In this case it would be something like this: <rule from="^http://(www|forum)\.test\.tibia\.com/"
to="https://secure.test.tibia.com/" /> |
@gloomy-ghost Thanks for being so patient with me. I think I got it right this time! |
Oops, it seems like the implicit |
Added. Tests seem to pass now! |
format:
|
The ruleset @ivysrono provided above represents the preferred style we are currently using except the indentation of a |
@gloomy-ghost Done. |
Thanks again! |
http://forum.tibia.com/forum/*
is now available over HTTPS throughhttps://secure.tibia.com/forum/*
.