CARVIEW |
Select Language
HTTP/2 200
date: Mon, 14 Jul 2025 18:42:46 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/w3c/epubcheck.git
etag: W/"da5a52b9c8a17c2a8991d606e5f6be94"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=xs5e8qSx%2By3VXh%2FqNRD9jMjEv5wU0NJbqqdugt7mFf8R%2BPOzpzvy1kJlUb2UG7HrgMsKXjFM4xkfcvouTknOfB%2BFp3VykkEeR80%2FEpTjtHGVGAgwT0fyOh79lYCgIlNBG2icQ51SnmvH627nJAeS5ZMM6KTS84uaIDUWe6Wghm0NYII1kVFTjDB70DyFiPbduUhMyK9YuBuqqNeLQYDfaz751HGE0Le35TaomukrTklPdj2XVY46an0xyrCuYviDtwPn4Zwn63403E4yb33ojQ%3D%3D--bpj6LpN5crevSnPk--%2B%2FhrspHMxxWJZ3TxJWocMA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1869762021.1752518566; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 18:42:46 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 18:42:46 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9D5A:4B9C3:15E280D:1B03CBE:68754FA6
feat: extend proper URL checking to more places (like CSS) · w3c/epubcheck@a3c736d · GitHub
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/css/CSSHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ocf/OCFContainerFileHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit a3c736d
committed
feat: extend proper URL checking to more places (like CSS)
This commit:
- extracts the URL checking logic from `BaseURLHandler` (SAX handler)
to its own independent class `URLChecker`
- applies the same URL-checking logic to CSS as was used in XML, using
the new `URLChecker`
- applies the URL-checking logic to the few places were it wasn't the
case already (in XML handlers)1 parent 5b5391f commit a3c736dCopy full SHA for a3c736d
File tree
Expand file treeCollapse file tree
7 files changed
+171
-198
lines changedFilter options
- src/main/java
- com/adobe/epubcheck
- css
- ocf
- opf
- xml/handlers
- org/w3c/epubcheck/url
Expand file treeCollapse file tree
7 files changed
+171
-198
lines changedsrc/main/java/com/adobe/epubcheck/css/CSSHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/css/CSSHandler.java+13-26Lines changed: 13 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
| 6 | + | |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| |||
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
| 22 | + | |
20 | 23 |
| |
21 | 24 |
| |
22 | 25 |
| |
| |||
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
37 |
| - | |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
| |||
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 |
| |
51 | 57 |
| |
52 | 58 |
| |
| |||
66 | 72 |
| |
67 | 73 |
| |
68 | 74 |
| |
| 75 | + | |
69 | 76 |
| |
70 | 77 |
| |
71 | 78 |
| |
| |||
314 | 321 |
| |
315 | 322 |
| |
316 | 323 |
| |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
| 324 | + | |
331 | 325 |
| |
332 | 326 |
| |
333 | 327 |
| |
| |||
348 | 342 |
| |
349 | 343 |
| |
350 | 344 |
| |
351 |
| - | |
| 345 | + | |
352 | 346 |
| |
353 | 347 |
| |
354 | 348 |
| |
| |||
388 | 382 |
| |
389 | 383 |
| |
390 | 384 |
| |
| 385 | + | |
| 386 | + | |
| 387 | + | |
391 | 388 |
| |
392 |
| - | |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 |
| - | |
400 |
| - | |
401 |
| - | |
402 | 389 |
| |
403 | 390 |
| |
404 | 391 |
| |
|
src/main/java/com/adobe/epubcheck/ocf/OCFContainerFileHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ocf/OCFContainerFileHandler.java+7-19Lines changed: 7 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
86 | 88 |
| |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 | 89 |
| |
91 | 90 |
| |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 | 91 |
| |
99 | 92 |
| |
100 | 93 |
| |
| |||
107 | 100 |
| |
108 | 101 |
| |
109 | 102 |
| |
110 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
111 | 106 |
| |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 | 107 |
| |
116 | 108 |
| |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 | 109 |
| |
| 110 | + | |
123 | 111 |
| |
124 | 112 |
| |
125 | 113 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler.java+2-14Lines changed: 2 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
50 | 49 |
| |
51 | 50 |
| |
52 | 51 |
| |
| |||
304 | 303 |
| |
305 | 304 |
| |
306 | 305 |
| |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
| 306 | + | |
| 307 | + | |
311 | 308 |
| |
312 | 309 |
| |
313 | 310 |
| |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 | 311 |
| |
324 | 312 |
| |
325 | 313 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java+8-19Lines changed: 8 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
51 |
| - | |
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
55 | 53 |
| |
56 | 54 |
| |
57 | 55 |
| |
58 | 56 |
| |
| 57 | + | |
| 58 | + | |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| |||
403 | 403 |
| |
404 | 404 |
| |
405 | 405 |
| |
406 |
| - | |
| 406 | + | |
407 | 407 |
| |
408 | 408 |
| |
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
412 |
| - | |
413 |
| - | |
| 412 | + | |
| 413 | + | |
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
421 |
| - | |
| 421 | + | |
422 | 422 |
| |
423 | 423 |
| |
424 | 424 |
| |
| |||
448 | 448 |
| |
449 | 449 |
| |
450 | 450 |
| |
451 |
| - | |
452 |
| - | |
453 |
| - | |
| 451 | + | |
| 452 | + | |
454 | 453 |
| |
455 | 454 |
| |
456 | 455 |
| |
457 |
| - | |
458 |
| - | |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 | 456 |
| |
468 | 457 |
| |
469 | 458 |
| |
|
You can’t perform that action at this time.
0 commit comments