Comments (2)
The code should probably use the Server
class (inc/Input/Server.php) instead of accessing $_SERVER
directly. That would avoid these types of exceptions. (No idea if the code would be correct when there is no $_SERVER['REMOTE_USER']
though.)
Note: I don't have an AD to test so someone else will have to create a PR, sorry.
from dokuwiki.
Line in question is part of the adLDAP library:
dokuwiki/lib/plugins/authad/adLDAP/adLDAP.php
Line 698 in 9e5ebb6
However this line would only be triggered when using that library's useSSO
config feature. The error also would only occur if the web server did not set the appropriate headers needed for Single Sign On.
Usually useSSO
should not be enabled at all. For Single Sign On, the plugin's own sso
config option should be enabled. SSO is then handled within the plugin and not in the library (and would use the appropriate Input wrapper as suggested by @fiwswe).
I also don't see how this should be related to Kaos at all. It might be related to a PHP upgrade or to a loss of SSO configuration at the web server level.
I will close this as this seems to be a misconfiguration of the authAD plugin (a configuration btw. that was not provided in the bug report!).
@rldml if you think that's wrong, reply with more info, detailing your configuration and SSO setup.
from dokuwiki.
Related Issues (20)
- Warning: Trying to access array offset on value of type bool in /....../inc/Ui/Recent.php on line 165 HOT 3
- GeSHi highlight icon bug
- Spaces are not replaced with underscore (config setting) - forbidden blank page instead HOT 7
- JWT shouldn't be stored in cachedir HOT 3
- Fulltext search: Nonexistent keyword with ^namespace exclude yields all pages
- Page access control issue HOT 3
- Trusting X-Forwarded-*
- Plugin vshare does not show/load all youtube-Videos on different platforms HOT 1
- Portrait Images not displaying HOT 1
- Media Manager error with Release 2024-02-06a "Kaos" & Bootstrap3
- Kaos 55.1 - E_WARNING: Undefined array key 0 HOT 6
- Automatically set the release date of bundled plugins to match that of DokuWiki HOT 1
- New line in text should be rendered as such and not appended to the line HOT 2
- RFC: Official Docker Image HOT 3
- DokuWiki can't be opened HOT 3
- GitHub actions triggered on forks
- DokuWiki 2024-02-06a has a stored XSS vulnerability HOT 14
- `firstimage` does not return correct values for images other than PNGs, JPEGs or GIFs HOT 3
- align url for lib/plugin members HOT 10
- Undefined array key 3 in ./inc/media.php on line 1700 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokuwiki.