Opened 12 months ago

Closed 7 months ago

Last modified 7 months ago

#1081 closed enhancement (fixed)

Do not append http:// to named anchor links.

Reported by: aerych Owned by: aerych
Priority: trivial Milestone: Future Release
Component: Add Blog/Site Version:
Keywords: Cc:

Description

If a user creates a link that begins with a hash "#" do not add http:// to the front of the url.

Requested: http://twitter.com/niemalsnever/status/205533503859867649

Change History (4)

comment:1 Changed 7 months ago by aerych

  • Owner set to aerych
  • Status changed from new to assigned

comment:2 Changed 7 months ago by aerych

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3622]) Fixes #1081. Don't add http to links pointing to named anchors.

comment:3 Changed 7 months ago by koke

Instead of substrings, you can use NSString hasPrefix:

comment:4 Changed 7 months ago by aerych

Oh right. Nice. I'll update as that is a nicer way to do it.

Note: See TracTickets for help on using tickets.