Ticket #1033 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Links with quotes breaks

Reported by: ipstenu Owned by:
Priority: high Milestone: 1.0
Component: Front-end Version: 1.0-rc-2
Severity: critical Keywords:
Cc:

Description

If I do this:

<a href="http://thisis.my/link">This is my link</a>

I get this:

<a href="//thisis.my/link&quot;">This is my link</a>

If I do this:

<a href=http://thisis.my/link>This is my link</a>

It works.

Two other people have the same issue, all on 1.0-alpha6 or higher, with or without plugins.

Change History

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 1.0-beta & XML-RPC

Fixed in  [BP194]

I may have to reopen this as it BROKE all my exisiting links. I'm going through looking now...

Ones without quotes now show as

<a href="//thisis.my/link&quot;&quot;">This is my link</a>
  • Status changed from closed to reopened
  • Resolution fixed deleted

Yeah, this is still broken.

If I save without quotes it's fine. If I edit that link, then it's got quotes and looks fine in the edit field but if I save again, it breaks and I see this in my post:

<a href="http://thisis.my/link%22">This is my link</a>

If I edit THAT again I see this in the EDIT field.

<a href="//thisis.my/link&quot;&quot;">This is my link</a>

The fix won't fix any tags that are already broken. I'll look into the other problem.

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

Works for me on any new posts with quoted attributes when editing. Any broken links you have need to be manually cleaned up.

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

  • Milestone set to 1.0
  • Status changed from closed to reopened
  • Resolution fixed deleted

As mentioned in http://bbpress.org/forums/topic/final-release-candidate-10-rc-2-is-available this appears to be back.

Damn it. :/

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

(In [2189]) Go back to wp_specialchars in one place. Fixes #1033.

Note: See TracTickets for help on using tickets.