Comment 15 for bug 1329202

Revision history for this message
Daniel Schürmann (daschuer) wrote : Re: Live Broadcasting - Mount is not escaped when sending metadata

Thank you for clarification.

My original goal was it to handle common pitfalls, in the broadcasting setup.

Coming back to that goal, how about just warn the user if he tries to use an problematic mount point.

I have something like that in mind:
* continue to pass the trimmed user entry to libshout
* for the test: remove all "/" from the user mountpoint entry
* decode the user entry (in case it is already encoded)
* encode it again
* compare the original mount point with the decoded
* warn if there are different.
* The warning could be a label below the mountpoint text box:
 "Warning: Suspicious mount point"

Any thoughts?