alibaba / alibaba/nginx-http-concat

concat语法支持问题

Open
#25 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
863
Forks
232
PR merge metrics
No merged PRs in 30d

Description

我们之前一直在用tengine的concat模块,之前都是手动修改源文件里面的多个script标签到一个??格式的标签的
但是最近加入了一个自动编译的脚本,会遍历所有的script标签,按照LCP(longest common prefix)算法提取连接里面的前缀,再拼接到地址里面去,
比如有两个script标签

```

```

之前人工合并的时候会改写成:

```

```

执行就是好的,但是采用了自动脚本的LCP语法之后,会被自动替换成

```

```

这样这个模块就不支持了.
我在文档里面没有看到说明说两个问号比武放在`/`这个位置的正后面?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing concat syntax handling in the nginx-http-concat module and its documentation, then reproduce the issue with the two sample script paths and the LCP-generated form. Done should mean the intended `??` syntax works with automatically generated prefixes, or the documentation clearly defines the supported placement and behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
backend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.