Currently, the realm used for HTTP auth is the site name. With this patch, the realm becomes configurable on the module settings page. It defaults to the site name.

Comments

junyor’s picture

StatusFileSize
new1.97 KB

Improved patch after discussion with chx.

junyor’s picture

The newline issue you found with Opera is invalid. If there is a newline in an HTTP header, the first character on the next line *must* be a whitespace character.

How should this be handled in the patch?

junyor’s picture

StatusFileSize
new1.67 KB

Untested patch for HEAD.

junyor’s picture

Version: 4.6.x-1.x-dev » master
darren oh’s picture

Status: Needs review » Reviewed & tested by the community

Feel free to commit this if it works.

darren oh’s picture

Status: Reviewed & tested by the community » Fixed

Committed to DRUPAL-4-6, DRUPAL-4-7, and HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

  • Commit de43af7 on 5.x-1.x, 6.x-1.x, 6.x-2.x, 7.x-2.x, master, 8.x-1.x by Darren Oh:
    #21571 Allow admins to configure authentication realm. By Junyor.