samclarke / SCEditor

A lightweight HTML and BBCode WYSIWYG editor
http://www.sceditor.com/
Other
665 stars 186 forks source link

URLs with parameters won't work #782

Open ElaMcDowell opened 3 years ago

ElaMcDowell commented 3 years ago

Hi. I'm sorry for bothering you, but I've been having a problem with the editor. When I place a url with parameters the link is broken. What I mean is this:

I write the next code and is saved properly in the database:

[url=http://localhost/Gengo/profile?id=elenacarbonell]Why?[/url]

But then is displayed as:

<a href="/Gengo/Includes/Why?">Why?</a>

If I write [url=http://localhost/Gengo/profile?id]Why2[/url] then it works without problem. The thing is when the url has a = in it.

It won't work without the whole http:// either.

I don't know why nor what to do to solve it. Please, help. :(

samclarke commented 3 years ago

Just tried this and can't seem to reproduce it, does the problem happen on sceditor.com?