Yesterday I couldn't use hipchat for a couple hours because it would lock up a cpu and fail to load. After doing some free debugging for them I realized they were locking up trying to extract urls out of some text with a regex. Simplified code: https://gist.github.com/shanemhansen/c4e5580f7d4c6265769b0df...
Pasting that content into hipchat will probably lock up your browser and webview based clients. Beware.
Lesson learned: don't parse user input with a regex.
Pasting that content into hipchat will probably lock up your browser and webview based clients. Beware.
Lesson learned: don't parse user input with a regex.