No validity checking on extra information
Bug #974558 reported by
Jono Bacon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Viewer |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Today when entering extra information (e.g. launchpad-email) we do no validation checking (e.g. removing whitespace from an email address).
This begs the question, how do we determine how something should be formatted.
One possible solution here, as we ask accom set creators to copy a file from lp:ubuntu-accomplishments-extra-information is to put a formatting rule in the files from that branch. This could be something such as:
formatting=
Or could include a regular expression. Thoughts?
Changed in ubuntu-accomplishments-system: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
affects: | ubuntu-accomplishments-system → ubuntu-accomplishments-viewer |
Changed in ubuntu-accomplishments-viewer: | |
milestone: | none → 0.4 |
To post a comment you must log in.
Maybe we could have predefined types so that the author doesn't have to worry about the details of formatting, like the html5 values for the 'type' attribute for the <input> tag, e.g. "email", "url", "date", etc...
information- type=email type=url type=date
information-
information-
Some of the types could then allow the accomplishments -viewer to display them based on the client's localization settings.