Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make reuse of mediamanager popup easier #1479

Merged
merged 3 commits into from Apr 7, 2016
Merged

make reuse of mediamanager popup easier #1479

merged 3 commits into from Apr 7, 2016

Conversation

splitbrain
Copy link
Collaborator

This introduces a mechanism to override what happens when a media item is selected in the media manager popup by providing a callback name in the URL. The default implementation just does what dw_mediamanager.insert did before and calls insertTags()

  • is passing the callback name security relevant? How to prevent misuse?
  • should the parameters passed be somewhat nicer?

because we actually want it in this branch ;-)

This reverts commit 38a2174.
@splitbrain
Copy link
Collaborator Author

Yeah, this PR contains a revert of a revert commit, because I accidentally pushed this to master 😵

This makes sure the provided callback is using alphanumerics only. I'm
not sure this is needed, but better safe than sorry.
* master:
  refactor page saving and introduce COMMON_WIKIPAGE_SAVE
@scrutinizer-notifier
Copy link

The inspection completed: No new issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants