aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb 2.3.2 in iframe  (Read 410 times)

alesnav

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
amuleweb 2.3.2 in iframe
« on: December 10, 2016, 12:42:10 AM »

Hello there!

I have a little problem with amuleweb. I'm trying to include it as an iframe in a multipurpose downloads domain, but amuleweb breaks the iframe if the user is not authenticated.

I mean, when you load amuleweb through an iframe and if you are not authenticated, it redirects to the login page the whole webpage. So, it breaks the iframe.

In the other hand, once authenticated, amuleweb works like a charm inside the iframe.

Can you please modify the redirect to the login page to be able to use amuleweb iframed?

Thanks,
Best regards
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2703
Re: amuleweb 2.3.2 in iframe
« Reply #1 on: December 11, 2016, 08:16:09 AM »

Can you please make a patch with the necessary modifications that we can include in the next release?
Logged
concordia cum veritate

alesnav

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: amuleweb 2.3.2 in iframe
« Reply #2 on: December 11, 2016, 05:25:00 PM »

Yes, I will open a pull request on GitHub.

It is as simple as remove breakout_of_frame function from login.php and the call to it in the same file.

I don't know the source reason to include this functionality in amuleweb. Do you have any idea?

Thanks,
Best regards
Logged