Ticket #120 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

"http://blah" becomes "http:http://blah" when adding new subscriptions

Reported by: trac-user Assigned to: fox
Priority: major Milestone: 1.2.8-p1
Component: backend Version:
Keywords: Cc:

Description

To fix, change this line in function subscribe_to_feed()

if (strstr($feed_link, "//") == 0) {

to

if (strpos($feed_link, "//") === false) {

(php.net says that strpos is faster than strstr (which returns a string))

Change History

02/21/07 14:14:34 changed by fox

This was fixed in 1.2.8-p1, but I have uploaded wrong archive. Sorry about that, try the frontpage once more. :)

02/21/07 21:25:56 changed by trac-user

OK it's working in 1.2.8-p1. Thanks.

02/21/07 21:30:56 changed by fox

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.2.8-p1.

I'll close the ticket then.