Ticket #306 (closed Bug report: fixed)

Opened 13 years ago

Last modified 12 years ago

URL hyperlink in profilefield gives an error

Reported by: fproulx Owned by:
Priority: low Milestone:
Component: Auth server, Content Management Version:
Keywords: Cc:

Description

While entering the data for "blog", I assume it's a ProfileTemplateField? with Hyperlink ... I get this error "Warning: the URL is invalid!" for " http://www.edito.qc.ca" (no quotes), but no error for " http://www.edito.qc.ca/". I imagine the regexp needs to be changed....

Change History

Changed 13 years ago by benoitg

  • priority changed from high to low

Well, the regex IS correct. A domain without a trailing slash isn't a valid URL. In fact, web servers will send an http redirect from  http://www.edito.qc.ca to  http://www.edito.qc.ca/ to correct the user's mistake (not doing so and just displaying the page would break all relative hyperlinks). It worked so well that most people don't know that  http://www.edito.qc.ca isn't actually valid.

Wether wifidog should be anal about it, or should give the user a hint is another question.

Changed 12 years ago by benoitg

  • status changed from new to closed
  • resolution set to fixed

Fixed in [1226]

Note: See TracTickets for help on using tickets.