If an user type a YouTube URL inside an tag, the Googtube regex will process it anyway, leaving a broken tag and no video.
Solution: correct regex.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | googtube-551924.patch | 1000 bytes | franz |
| #3 | googtube-551924.patch | 1.24 KB | franz |
Comments
Comment #1
josesanmartin commentedmy bad :-)
If an user type a YouTube URL inside an <a href=""> tag, the Googtube regex will process it anyway, leaving a broken tag and no video.
Solution: correct regex.
...which I'm trying to do now
Comment #2
franzPlease, ignore this patch (explained below).
Comment #3
franzSorry, forgot to include a new regex for google videos too. Please, consider this patch.
Comment #4
alexandreracine commentedCan someone test this? Thanks.
Comment #5
franzbump?
Comment #6
maedi commentedsubscribing
Comment #7
alexandreracine commentedFrank, do you have a website witch is currently working with your patch? Thanks.
Comment #8
franzI fixed it for a site on my company, but can't remember which. I tested this on a local site.
Comment #9
alexandreracine commentedThis is now comitted to the dev6 branch.
Comment #10
alexandreracine commentedThanks! :)