How can I pass substrings with slash to my mediasite callback?

rhodes

Active member
I want to create a media site. My url is sth like this:

http://mydomain.com/content/subpath1/subpath2

I have these two subpaths to indentify my media. So I would need them both in my callback function.

When I add this regular expression to my mediasite configuration page

#mydomain\.com/content/(?P<id>\d+/[a-z0-9_]+)/#siU

I only get the first subpath in my callback function. What can I do so that both substrings are passed?
 
Back
Top Bottom