miqrogroove
|
|
Smilies Defect?
There is something unexpected here:
ini_set('error_log', 'error_log&apos  ;
Why is ...
... being processed as a smilie with the new database message encoding?
And why does an extra semicolon appear after the smilie?
|
|
flushedpancake
Member  
Posts: 112
Registered: 4-1-2024 Location: England
Member Is Offline
Mood: Pretty good.
|
|
' ) is being turned into &apos  it
seems?
the smiley filter doesn't check things like spaces and it runs after everything else is processed.
hence, wink face with an extra semicolon after because your message already had a semicolon in it
---
what I don't get is why it explicitly seems to trigger with a single escape and a closing bracket. ending in a semicolon is not exclusive to
&pos;.
|
|
miqrogroove
|
|
Oh, you're right. The message was:
Probably I mismatched the smilie input or forgot to update it somewhere along the line. It's in the bug tracker now for further study.
|
|
miqrogroove
|
|
Quote: Originally posted by flushedpancake  | what I don't get is why it explicitly seems to trigger with a single escape and a closing bracket. ending in a semicolon is not exclusive to
&pos;. |
This part is correct. One of the default smilie codes is set up like emoticon substitution...
We just need to make sure encoded and non-encoded strings aren't getting mixed up internally.
|
|
miqrogroove
|
|
Need to test on 1.9.12 what happens if a non-latin-1 character is followed by a ). Then we will know if this is a new bug or an old bug made worse by
apostrophe encoding.
|
|