Problem/Motivation

It is currently not possible to use a relative path started with "/" as a DLLs location value because the "/" is removed on form submit and when retrieving the variable value.

This is a blocker to store DLLs location locally as the url is not relative and become incorrect in certains conditions / paths.

Steps to reproduce

  1. Store dlls locally (for example in a custom module)
  2. Set the relative path to dlls (for example : /modules/custom/yourmodule/dll/)
  3. Disable javascript aggregation
  4. Edit a node with a ckeditor field
  5. See that an error occured : `GET http://yoursite/node/452/modules/custom/yourmodule/dll/cloud-services/cl... net::ERR_ABORTED 404 (Not Found)`

Proposed resolution

Do not remove the initial "/" of the variable so it will be possible to use a relative local path.

CommentFileSizeAuthor
#2 3413078-2.patch1.19 KBnixou

Comments

Nixou created an issue. See original summary.

nixou’s picture

Version: 1.2.3 » 1.2.4
Status: Active » Needs review
StatusFileSize
new1.19 KB

  • salmonek committed 6cbdea31 on 1.3.x
    Issue #3413078 by Nixou: Allow to use a relative path to dlls location
    
salmonek’s picture

Status: Needs review » Fixed

Released in version 1.3.1
Thank you @nixou for contribution.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.