Nobody ever means to have whitespace as their feed pattern. We should trim it prior to doing anything with it.
Also $feedappend -> $feed_append
| Comment | File | Size | Author |
|---|---|---|---|
| feed_append_trim_naming.patch | 2.12 KB | greggles |
Nobody ever means to have whitespace as their feed pattern. We should trim it prior to doing anything with it.
Also $feedappend -> $feed_append
| Comment | File | Size | Author |
|---|---|---|---|
| feed_append_trim_naming.patch | 2.12 KB | greggles |
Comments
Comment #1
gregglesAny review? Should I just commit this?
Comment #2
dave reidSeems valid, although it makes more sense to trim when the variables are saved so we can skip this in processing.
Comment #3
gregglesThat's true, though I think modifying them when they are saved is a bit more work, right?
Comment #5
dave reidIt's a bit more code, but if theres bulk operations or multiple aliases being saved, that trim() is run every, single time. So anything to help make normal operations go faster is a plus. But then again, this is a minor thing. We can make a new issue for trimming all patterns, etc. when saving the settings page.
Comment #6
dave reidThis was slipped in as a part of a recent commit.