Invalid url validation on admin->server config Register url field

Description

Description of problem:
The server configuration page in Administration has url validation on the Register url field - so the previously accepted /zanata/register is now rejected as invalid

Version-Release number of selected component (if applicable):
3.6-snapshot

How reproducible:
Easy always

Steps to Reproduce:
1. sign in as admin, go to Administration, Server config
2. Enter /zanata/register into the Register URL field (as indicated by the placeholder)
3. Press Enter or Save

Actual results:
Entry rejected

Expected results:
Entry accepted

Additional info:

Environment

None

Activity

Show:
Alex Eng
November 16, 2016, 10:00 PM

I've checked the source code history and we never allow '/zanata/account'. The url validator is always there and only allow valid url (e.g. http://zanata.org). Its just the placeholder is misleading. I will update the placeholder.

Sachin Pathare
November 16, 2016, 10:38 AM

Still reproducible in server 4.0

Observation

  • After entering zanata/account/register as indicated it gives enter valid url.

  • Valid indication/only accepted indication should have to set.

Ready for Release

Assignee

Alex Eng

Reporter

Damian Jansen

Labels

None

Tested Version/s

None

Components

Sprint

None

Fix versions

Priority

unspecified