Skip to content

Conversation

@nickvergessen
Copy link
Member

Currently only exposed on JS initial state for the webfrontend, not allowing clients to rely on it.

Checklist

@nickvergessen nickvergessen added bug 3. to review Waiting for reviews labels Apr 12, 2024
@nickvergessen nickvergessen added this to the Nextcloud 30 milestone Apr 12, 2024
@nickvergessen nickvergessen requested a review from ShGKme April 12, 2024 10:58
@nickvergessen nickvergessen self-assigned this Apr 12, 2024
@nickvergessen
Copy link
Member Author

/backport to stable29

@nickvergessen nickvergessen force-pushed the bugfix/44798/expose-mod-rewrite branch from 083140a to bbaaaf4 Compare April 12, 2024 11:00
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nickvergessen nickvergessen enabled auto-merge April 12, 2024 11:04
'webdav-root' => $this->config->getSystemValueString('webdav-root', 'remote.php/webdav'),
'reference-api' => true,
'reference-regex' => IURLGenerator::URL_REGEX_NO_MODIFIERS,
'mod-rewrite-working' => $this->config->getSystemValueBool('htaccess.IgnoreFrontController') || getenv('front_controller_active') === 'true',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a copy-paste of

'modRewriteWorking' => $this->config->getSystemValue('htaccess.IgnoreFrontController', false) === true || getenv('front_controller_active') === 'true',

Can we then use capabilities there to define modRewriteWorking in JSConfig?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could

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

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose modRewriteWorking via capabilities to allow pretty URL by clients

5 participants