~matsubara/juju-gui/tarmac-test

Viewing all changes in revision 731.

  • Committer: Rick Harding
  • Author(s): Richard Harding
  • Date: 2013-06-13 18:12:46 UTC
  • mfrom: (730.1.2 logout-404-1190653)
  • Revision ID: rick.harding@canonical.com-20130613181246-hyupg96wa70cs2rm
Fixes #1190653 properly ignore /login as charmid

- The /login/ url was getting two matches to the regex used to detect if this
was a charmid or just a /something string that should be ignored. It was
matching login/ and n/.
- Rather than a regex, actually remove the start/trail '/' and split on any
other /. If there's exactly two parts then this is a charmid we should try to
match and display.

R=curtis, jeff.pihach
CC=
https://codereview.appspot.com/10253049

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: