PITS /
00466: Saving Approved `URLs issues: Added twice; Case sensitive
Summary: Saving Approved URLs issues: Added twice; Case sensitive
Created: 2005-07-14 19:54
Status: Closed - fixed for 2.0.0
Category: Feature
From: Simon
Assigned:
Priority: 5
Version: 2b36, 2b48
OS: WinXP/Apache, Debian/Apache
Description:
When approved URLS are added to the page by clicking on the (approve links) link, I observe the following
- If a url is referred to twice it is added twice, eg [(approve links) edit diff], [(approve links) edit diff]
- Case causes the URL to be added twice, eg http://pmwiki.org, http://PmWiki.org
Would it be possible to have
- URLs only added once
- case to be ignored for URL
Gratuitous enhancement request:
Rather than having links added at the bottom of the page would it be possible to have URLs sorted (eg strip off http:// and www. if present)
Crisses: While fixing this, note an additional issue: If the URL is stored in a PTV such as (:url:http//:example.com:) the final : is grabbed. The URL is still listed as needing approval. adding a final / fixes the issue i.e. (:url:http//:example.com/:) but some people won't do that.